@nocobase/app 2.0.0-alpha.3 → 2.0.0-alpha.31

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 (134) hide show
  1. package/dist/client/113.736e29a0.async.js +7 -0
  2. package/dist/client/1145.0351040a.async.js +3 -0
  3. package/dist/client/1161.0b3b5766.async.js +40 -0
  4. package/dist/client/1442.be509f94.async.js +5 -0
  5. package/dist/client/1595.6a6087c3.async.js +44 -0
  6. package/dist/client/1758.eeeacf43.async.js +5 -0
  7. package/dist/client/1883.6ee256ab.async.js +17 -0
  8. package/dist/client/1905.ff0793ff.async.js +12 -0
  9. package/dist/client/2042.feb4b9ac.async.js +10 -0
  10. package/dist/client/2097.bb2e7097.async.js +14 -0
  11. package/dist/client/{2190.90c718a9.async.js → 2190.4f5395e5.async.js} +1 -1
  12. package/dist/client/2380.900b7a22.async.js +15 -0
  13. package/dist/client/2612.0865e67e.async.js +19 -0
  14. package/dist/client/2775.455c3402.async.js +47 -0
  15. package/dist/client/2936.902710e4.async.js +28 -0
  16. package/dist/client/3357.be95167c.async.js +28 -0
  17. package/dist/client/341.fba65e23.async.js +28 -0
  18. package/dist/client/3451.a9466e73.async.js +24 -0
  19. package/dist/client/4327.68c0f17b.async.js +16 -0
  20. package/dist/client/4351.efe05af2.async.js +15 -0
  21. package/dist/client/4356.feef0eca.async.js +18 -0
  22. package/dist/client/4666.fb83d11a.async.js +9 -0
  23. package/dist/client/4727.0f6df8fb.async.js +1 -0
  24. package/dist/client/4750.b552d2df.async.js +31 -0
  25. package/dist/client/4841.43cec461.async.js +37 -0
  26. package/dist/client/4926.58238954.async.js +17 -0
  27. package/dist/client/5013.b14730ba.async.js +3 -0
  28. package/dist/client/5501.22d50b3a.async.js +23 -0
  29. package/dist/client/5505.a71c2922.async.js +2 -0
  30. package/dist/client/5662.8c643e63.async.js +26 -0
  31. package/dist/client/5950.179a885e.async.js +4 -0
  32. package/dist/client/6021.cdefa0d3.async.js +22 -0
  33. package/dist/client/645.c19a1f59.async.js +55 -0
  34. package/dist/client/6474.49632e37.async.js +21 -0
  35. package/dist/client/6534.6ea6468b.async.js +33 -0
  36. package/dist/client/6747.de538558.async.js +22 -0
  37. package/dist/client/689.4de33d65.async.js +3 -0
  38. package/dist/client/6920.497d7e80.async.js +59 -0
  39. package/dist/client/6939.d7d780b7.async.js +17 -0
  40. package/dist/client/6996.ae27c9d6.async.js +9 -0
  41. package/dist/client/703.f2104ec4.async.js +17 -0
  42. package/dist/client/7087.5646e199.async.js +6 -0
  43. package/dist/client/7482.3924bcd9.async.js +1 -0
  44. package/dist/client/7483.546ddcb6.async.js +23 -0
  45. package/dist/client/7534.0d69e071.async.js +34 -0
  46. package/dist/client/8183.4c6f7e21.async.js +12 -0
  47. package/dist/client/8408.c0ef773c.async.js +84 -0
  48. package/dist/client/8805.819c4f44.async.js +20 -0
  49. package/dist/client/9017.4ae5c322.async.js +6 -0
  50. package/dist/client/9042.3d21f631.async.js +45 -0
  51. package/dist/client/908.0e8c8a54.async.js +14 -0
  52. package/dist/client/9317.fe6ffa9a.async.js +13 -0
  53. package/dist/client/935.97d45ffa.async.js +27 -0
  54. package/dist/client/95.24aa76c4.async.js +6 -0
  55. package/dist/client/9547.a442df93.async.js +25 -0
  56. package/dist/client/9801.34b13a74.async.js +9 -0
  57. package/dist/client/9844.6f484975.async.js +37 -0
  58. package/dist/client/index.html +1 -1
  59. package/dist/client/index.html.tpl +1 -1
  60. package/dist/client/{npm._at_ant-design.0bc226be.async.js → npm._at_ant-design.c2d0554a.async.js} +1 -1
  61. package/dist/client/npm._at_babel.94b2dd75.async.js +3 -0
  62. package/dist/client/npm._at_floating-ui.c19fd4ef.async.js +1 -0
  63. package/dist/client/npm._at_jridgewell.72fd4dd4.async.js +1 -0
  64. package/dist/client/{npm._at_rc-component.8d2d642c.async.js → npm._at_rc-component.fcc6d966.async.js} +1 -1
  65. package/dist/client/npm._at_react-spring.2682ca90.async.js +1 -0
  66. package/dist/client/{npm._at_umijs.47085d01.async.js → npm._at_umijs.f64c1387.async.js} +1 -1
  67. package/dist/client/npm._at_use-gesture.c2876964.async.js +1 -0
  68. package/dist/client/npm.acorn.59eb4103.async.js +11 -0
  69. package/dist/client/npm.ahooks.9a89c2a5.async.js +6 -0
  70. package/dist/client/npm.antd-mobile-icons.4b133b6b.async.js +1 -0
  71. package/dist/client/npm.antd-mobile.1a8a8320.async.js +2 -0
  72. package/dist/client/npm.async-validator.32d9020f.async.js +12 -0
  73. package/dist/client/{npm.dayjs.772d2a39.async.js → npm.dayjs.549164ec.async.js} +1 -1
  74. package/dist/client/{npm.highlight.js.c1f693ec.async.js → npm.highlight.js.5db864c8.async.js} +2 -2
  75. package/dist/client/{npm.htmlparser2.a2f8d64d.async.js → npm.htmlparser2.ee1fb042.async.js} +1 -1
  76. package/dist/client/npm.liquidjs.7be2e0df.async.js +13 -0
  77. package/dist/client/{npm.lodash.5dcc1c5e.async.js → npm.lodash.0ff318b3.async.js} +2 -2
  78. package/dist/client/npm.rc-field-form.6a3cf561.async.js +1 -0
  79. package/dist/client/npm.rc-util.4aa445e4.async.js +35 -0
  80. package/dist/client/npm.sucrase.1cb664e8.async.js +135 -0
  81. package/dist/client/npm.unknown.31407e95.chunk.css +26 -0
  82. package/dist/client/npm.vditor.eb5da290.async.js +233 -0
  83. package/dist/client/p__index.1f505ad4.chunk.css +1 -0
  84. package/dist/client/p__index.201a4bd1.async.js +2375 -0
  85. package/dist/client/{umi.aabb8b7a.js → umi.90f45e6e.js} +7 -7
  86. package/package.json +6 -6
  87. package/dist/client/1145.4029b0be.async.js +0 -3
  88. package/dist/client/1617.dd671a87.async.js +0 -6
  89. package/dist/client/1833.82373d30.async.js +0 -6
  90. package/dist/client/2134.1d86e440.async.js +0 -5
  91. package/dist/client/2498.be8b1194.async.js +0 -7
  92. package/dist/client/260.5b02a0a5.async.js +0 -4
  93. package/dist/client/2953.2e77d77c.async.js +0 -24
  94. package/dist/client/3130.7f60a040.async.js +0 -35
  95. package/dist/client/3170.6147bd19.async.js +0 -24
  96. package/dist/client/3255.e6303833.async.js +0 -10
  97. package/dist/client/3520.81fd6362.async.js +0 -24
  98. package/dist/client/3522.674f2264.async.js +0 -4
  99. package/dist/client/4088.0568ef31.async.js +0 -5
  100. package/dist/client/4205.c3eac46d.async.js +0 -9
  101. package/dist/client/4644.ae01f8a6.async.js +0 -4
  102. package/dist/client/4666.d20ff352.async.js +0 -8
  103. package/dist/client/4840.477401f9.async.js +0 -8
  104. package/dist/client/5068.72e9d750.async.js +0 -5
  105. package/dist/client/5087.468f5500.async.js +0 -6
  106. package/dist/client/5950.b83f8586.async.js +0 -4
  107. package/dist/client/6416.361c93ff.async.js +0 -4
  108. package/dist/client/6472.ac05f778.async.js +0 -7
  109. package/dist/client/6779.47fc1971.async.js +0 -10
  110. package/dist/client/6816.1ff200ac.async.js +0 -5
  111. package/dist/client/6996.836a3f7f.async.js +0 -8
  112. package/dist/client/7463.70ca58ce.async.js +0 -20
  113. package/dist/client/7522.1f91be5c.async.js +0 -23
  114. package/dist/client/7596.232a7185.async.js +0 -10
  115. package/dist/client/7688.85d6d7bb.async.js +0 -4
  116. package/dist/client/8106.829fd6b5.async.js +0 -10
  117. package/dist/client/8541.e3110aaa.async.js +0 -8
  118. package/dist/client/9017.28eacc5a.async.js +0 -6
  119. package/dist/client/937.a55819ab.async.js +0 -5
  120. package/dist/client/9489.25ca39a9.async.js +0 -7
  121. package/dist/client/9663.c04b2ad1.async.js +0 -5
  122. package/dist/client/9729.0d7a5c47.async.js +0 -8
  123. package/dist/client/9848.18f8d3db.async.js +0 -4
  124. package/dist/client/npm._at_babel.aa6aa60c.async.js +0 -3
  125. package/dist/client/npm._at_react-spring.47360957.async.js +0 -1
  126. package/dist/client/npm._at_use-gesture.15164819.async.js +0 -1
  127. package/dist/client/npm.acorn.1f389fab.async.js +0 -6
  128. package/dist/client/npm.ahooks.7b545023.async.js +0 -6
  129. package/dist/client/npm.antd-mobile.ba8a4934.async.js +0 -1
  130. package/dist/client/npm.antd-style.f89528fc.async.js +0 -1
  131. package/dist/client/npm.babel-runtime.eed49798.async.js +0 -1
  132. package/dist/client/npm.rc-util.1c9d8b50.async.js +0 -35
  133. package/dist/client/p__index.5eda2656.chunk.css +0 -1
  134. package/dist/client/p__index.ac284e3d.async.js +0 -2316
@@ -1,24 +0,0 @@
1
- "use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[3170],{3170:function(i,e,n){n.r(e),e.default={contexts:["*"],prefix:"sn-link-visibility",label:"Toggle visible",content:`
2
- const targetFieldUid = 'FIELD_UID_OR_NAME';
3
- const shouldHide = true;
4
-
5
- const items = ctx.model?.subModels?.grid?.subModels?.items;
6
- const candidates: any[] = Array.isArray(items)
7
- ? items
8
- : Array.from(items?.values?.() || items || []);
9
- const fieldModel =
10
- candidates.find((item) => item?.uid === targetFieldUid) ||
11
- candidates.find((item) => item?.props?.name === targetFieldUid);
12
-
13
- if (!fieldModel) {
14
- ctx.message?.warning?.(ctx.t('Field {{name}} not found', { name: targetFieldUid }));
15
- return;
16
- }
17
-
18
- fieldModel.setProps({ hiddenModel: shouldHide });
19
- ctx.message?.success?.(
20
- ctx.t(shouldHide ? 'Hidden field {{name}}' : 'Shown field {{name}}', {
21
- name: fieldModel?.props?.label || targetFieldUid,
22
- }),
23
- );
24
- `}}}]);
@@ -1,10 +0,0 @@
1
- "use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[3255],{43255:function(n,t,e){e.r(t),t.default={contexts:["JSBlockRunJSContext"],prefix:"sn-echarts",label:"Init ECharts",content:`
2
- ctx.element.style.height = '400px';
3
- const echarts = await ctx.requireAsync('https://cdn.jsdelivr.net/npm/echarts@5/dist/echarts.min.js');
4
- if (!echarts) {
5
- ctx.message.error(ctx.t('Failed to load ECharts'));
6
- } else {
7
- const chart = echarts.init(ctx.element);
8
- chart.setOption({ title: { text: ctx.t('ECharts') }, series: [{ type: 'pie', data: [{ value: 1, name: ctx.t('A') }] }] });
9
- }
10
- `}}}]);
@@ -1,24 +0,0 @@
1
- "use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[3520],{53520:function(i,e,n){n.r(e),e.default={contexts:["*"],prefix:"sn-link-required",label:"Set required",content:`
2
- const targetFieldUid = 'FIELD_UID_OR_NAME';
3
- const required = true;
4
-
5
- const items = ctx.model?.subModels?.grid?.subModels?.items;
6
- const candidates: any[] = Array.isArray(items)
7
- ? items
8
- : Array.from(items?.values?.() || items || []);
9
- const fieldModel =
10
- candidates.find((item) => item?.uid === targetFieldUid) ||
11
- candidates.find((item) => item?.props?.name === targetFieldUid);
12
-
13
- if (!fieldModel) {
14
- ctx.message?.warning?.(ctx.t('Field {{name}} not found', { name: targetFieldUid }));
15
- return;
16
- }
17
-
18
- fieldModel.setProps({ required });
19
- ctx.message?.success?.(
20
- ctx.t(required ? 'Set field {{name}} as required' : 'Field {{name}} is optional', {
21
- name: fieldModel?.props?.label || targetFieldUid,
22
- }),
23
- );
24
- `}}}]);
@@ -1,4 +0,0 @@
1
- "use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[3522],{83522:function(t,c,e){e.r(c);var o={contexts:["*"],prefix:"sn-copy-record",label:"Copy record JSON",description:"Copy current ctx.record JSON to clipboard",content:`
2
- await ctx.copyToClipboard(JSON.stringify(ctx.record ?? {}, null, 2));
3
- ctx.message.success(ctx.t('Record JSON copied to clipboard'));
4
- `};c.default=o}}]);
@@ -1,5 +0,0 @@
1
- "use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[4088],{64088:function(a,i,n){n.r(i);var e={contexts:["*"],versions:["*"],prefix:"sn-nav-push",label:"View navigation: push",description:"Navigate within current view (if supported)",content:`
2
- // Push a new sub-view (if navigation is available)
3
- ctx.view?.navigation?.push({ viewUid: 'detail', filterByTk: 1 });
4
- // To go back: ctx.view?.navigation?.back();
5
- `};i.default=e}}]);
@@ -1,9 +0,0 @@
1
- "use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[4205],{94205:function(a,e,n){n.r(e),e.default={contexts:["*"],prefix:"sn-require",label:"Load external library",description:"Dynamically load an external JS via RequireJS",content:`
2
- // Load an external library (AMD/RequireJS)
3
- try {
4
- const lib = await ctx.requireAsync('https://cdn.example.com/lib@1.0.0/index.js');
5
- console.log('lib loaded:', lib);
6
- } catch (e) {
7
- ctx.message.error(ctx.t('Failed to load external library: {{msg}}', { msg: String(e?.message || e) }));
8
- }
9
- `}}}]);
@@ -1,4 +0,0 @@
1
- "use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[4644],{94644:function(t,e,n){n.r(e),e.default={contexts:["JSFieldRunJSContext","FormJSFieldItemRunJSContext"],prefix:"sn-jsf-value",label:"Render field value",content:`
2
- const v = String(ctx.value ?? '');
3
- ctx.element.innerHTML = \`<span class="nb-js-field-value" style="color:#1890ff;font-weight:600">\${v}</span>\`;
4
- `}}}]);
@@ -1,8 +0,0 @@
1
- "use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[4666],{74666:function(p,e,n){n.r(e);var i={contexts:["*"],versions:["*"],prefix:"sn-open-drawer",label:"Open view (drawer)",description:"Open a view in drawer via ctx.openView",content:`
2
- const popupUid = 'your-popup-uid';
3
- await ctx.openView(popupUid, {
4
- mode: 'drawer',
5
- viewUid: 'detail',
6
- inputArgs: { foo: 'bar' },
7
- });
8
- `};e.default=i}}]);
@@ -1,8 +0,0 @@
1
- "use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[4840],{24840:function(d,n,e){e.r(n);var t={contexts:["JSBlockRunJSContext"],prefix:"sn-jsb-card",label:"Render card",content:`
2
- ctx.element.innerHTML = \`
3
- <div style="border:1px solid #ddd;border-radius:8px;padding:16px;">
4
- <h3 style="margin:0 0 8px;">\${ctx.t('Title')}</h3>
5
- <div>\${ctx.t('Card content')}</div>
6
- </div>
7
- \`;
8
- `};n.default=t}}]);
@@ -1,5 +0,0 @@
1
- "use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[5068],{35068:function(t,n,e){e.r(n),n.default={contexts:["JSFieldRunJSContext","FormJSFieldItemRunJSContext"],prefix:"sn-jsf-num",label:"Format number",content:`
2
- // Format number using locale
3
- const n = Number(ctx.value ?? 0);
4
- ctx.element.innerHTML = String(Number.isFinite(n) ? n.toLocaleString() : ctx.value ?? '');
5
- `}}}]);
@@ -1,6 +0,0 @@
1
- "use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[5087],{5087:function(t,e,n){n.r(e),e.default={contexts:["JSBlockRunJSContext"],prefix:"sn-jsb-style",label:"Append style",content:`
2
- // Append styles to container
3
- ctx.element.style.border = '1px dashed #999';
4
- ctx.element.style.padding = '12px';
5
- ctx.element.style.borderRadius = '8px';
6
- `}}}]);
@@ -1,4 +0,0 @@
1
- "use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[5950],{45950:function(o,n,e){e.r(n),n.default={contexts:["*"],prefix:"sn-window-open",label:"Open new window",description:"Safely open a new browser window/tab",content:`
2
- // Open a new window/tab
3
- window.open('https://example.com', '_blank');
4
- `}}}]);
@@ -1,4 +0,0 @@
1
- "use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[6416],{86416:function(t,e,c){c.r(e),e.default={contexts:["*"],prefix:"sn-log-ctx",label:"Log ctx",description:"Log the whole ctx object to console",content:`
2
- console.log('ctx =>', ctx);
3
- ctx.message?.success?.(ctx.t('ctx printed'));
4
- `}}}]);
@@ -1,7 +0,0 @@
1
- "use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[6472],{16472:function(n,e,c){c.r(e),e.default={contexts:["JSRecordActionRunJSContext"],prefix:"sn-act-record-id",label:"Show record id",content:`
2
- if (!ctx.record) {
3
- ctx.message.error(ctx.t('Record not found'));
4
- } else {
5
- ctx.message.success(ctx.t('Record ID: {{id}}', { id: ctx.filterByTk ?? ctx.record?.id }));
6
- }
7
- `}}}]);
@@ -1,10 +0,0 @@
1
- "use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[6779],{36779:function(t,n,e){e.r(n),n.default={contexts:["JSBlockRunJSContext"],prefix:"sn-jsb-click",label:"Add click listener",content:`
2
- // Render a button and bind a click handler
3
- ctx.element.innerHTML = \`
4
- <button id="nb-jsb-btn" style="padding:6px 12px">\${ctx.t('Click me')}</button>
5
- \`;
6
- const btn = document.getElementById('nb-jsb-btn');
7
- if (btn) {
8
- btn.addEventListener('click', () => ctx.message.success(ctx.t('Clicked!')));
9
- }
10
- `}}}]);
@@ -1,5 +0,0 @@
1
- "use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[6816],{76816:function(e,n,t){t.r(n),n.default={contexts:["JSBlockRunJSContext"],prefix:"sn-jsx-unmount",label:"JSX unmount",content:`
2
- if (ctx.__reactRoot?.unmount) { try { ctx.__reactRoot.unmount(); } catch(_) {} }
3
- ctx.__reactRoot = undefined;
4
- ctx.element.innerHTML = '';
5
- `}}}]);
@@ -1,8 +0,0 @@
1
- "use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[6996],{96996:function(o,n,e){e.r(n);var i={contexts:["*"],versions:["*"],prefix:"sn-open-dialog",label:"Open view (dialog)",description:"Open a view in dialog via ctx.openView",content:`
2
- const popupUid = 'your-popup-uid';
3
- await ctx.openView(popupUid, {
4
- mode: 'dialog',
5
- viewUid: 'detail',
6
- inputArgs: { foo: 'bar' },
7
- });
8
- `};n.default=i}}]);
@@ -1,20 +0,0 @@
1
- "use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[7463],{17463:function(n,t,e){e.r(t),t.default={contexts:["JSBlockRunJSContext"],prefix:"sn-jsb-react",label:"Render React",content:`
2
- // Render a React element into ctx.element via ReactDOM
3
- const { React, ReactDOM, antd } = ctx;
4
- const { Button } = antd;
5
-
6
- // Unmount previous render to allow repeated runs
7
- if (ctx.__reactRoot?.unmount) {
8
- try { ctx.__reactRoot.unmount(); } catch(_) {}
9
- ctx.__reactRoot = undefined;
10
- }
11
-
12
- const node = React.createElement(
13
- 'div',
14
- { style: { padding: 12 } },
15
- React.createElement(Button, { type: 'primary', onClick: () => ctx.message.success(ctx.t('Clicked!')) }, ctx.t('Click')),
16
- );
17
- const root = ReactDOM.createRoot(ctx.element);
18
- root.render(node);
19
- ctx.__reactRoot = root;
20
- `}}}]);
@@ -1,23 +0,0 @@
1
- "use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[7522],{37522:function(t,e,n){n.r(e),e.default={contexts:["*"],prefix:"sn-link-set",label:"Set field value",content:`
2
- // Update another field in the same form/block
3
- const targetFieldUid = 'FIELD_UID_OR_NAME';
4
- const nextValue = ctx.record?.status ?? ctx.t('Updated value');
5
-
6
- const items = ctx.model?.subModels?.grid?.subModels?.items;
7
- const candidates: any[] = Array.isArray(items)
8
- ? items
9
- : Array.from(items?.values?.() || items || []);
10
- const fieldModel =
11
- candidates.find((item) => item?.uid === targetFieldUid) ||
12
- candidates.find((item) => item?.props?.name === targetFieldUid);
13
-
14
- if (!fieldModel) {
15
- ctx.message?.warning?.(ctx.t('Field {{name}} not found', { name: targetFieldUid }));
16
- return;
17
- }
18
-
19
- fieldModel.setProps({ value: nextValue });
20
- ctx.message?.success?.(
21
- ctx.t('Updated field {{name}}', { name: fieldModel?.props?.label || targetFieldUid }),
22
- );
23
- `}}}]);
@@ -1,10 +0,0 @@
1
- "use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[7596],{67596:function(o,t,n){n.r(t),t.default={contexts:["JSBlockRunJSContext"],prefix:"sn-jsx-mount",label:"JSX mount",content:`
2
- // Render JSX (editor does not auto-transform)
3
- const { ReactDOM, antd } = ctx;
4
- const { Button } = antd;
5
-
6
- if (ctx.__reactRoot?.unmount) { try { ctx.__reactRoot.unmount(); } catch(_) {} ctx.__reactRoot = undefined; }
7
- const root = ReactDOM.createRoot(ctx.element);
8
- root.render(<Button type="primary" onClick={() => ctx.message.success(ctx.t('Clicked!'))}>{ctx.t('Button')}</Button>);
9
- ctx.__reactRoot = root;
10
- `}}}]);
@@ -1,4 +0,0 @@
1
- "use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[7688],{57688:function(e,n,t){t.r(n),n.default={contexts:["JSRecordActionRunJSContext","JSCollectionActionRunJSContext"],prefix:"sn-act-run",label:"Run action",content:`
2
- await ctx.runAction('someAction', { foo: 'bar' });
3
- ctx.message.success(ctx.t('Action executed'));
4
- `}}}]);
@@ -1,10 +0,0 @@
1
- "use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[8106],{68106:function(e,t,n){n.r(t),t.default={contexts:["JSBlockRunJSContext"],prefix:"sn-jsb-button",label:"Render button handler",content:`
2
- const { React, ReactDOM, antd } = ctx;
3
- const { Button } = antd;
4
-
5
- if (ctx.__reactRoot?.unmount) { try { ctx.__reactRoot.unmount(); } catch(_) {} ctx.__reactRoot = undefined; }
6
- const node = React.createElement(Button, { type: 'primary', onClick: () => ctx.message.success(ctx.t('Clicked!')) }, ctx.t('Button'));
7
- const root = ReactDOM.createRoot(ctx.element);
8
- root.render(node);
9
- ctx.__reactRoot = root;
10
- `}}}]);
@@ -1,8 +0,0 @@
1
- "use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[8541],{28541:function(t,e,n){n.r(e),e.default={contexts:["JSItemRunJSContext"],prefix:"sn-jsitem-basic",label:"Render form item",content:`
2
- ctx.element.innerHTML = \`
3
- <div style="font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6;">
4
- <h3 style="color: #1890ff; margin: 0 0 12px 0; font-size: 18px; font-weight: 600;">\${ctx.t('JS Item')}</h3>
5
- <div style="color:#555">\${ctx.t('This area is rendered by your JavaScript code.')}</div>
6
- </div>
7
- \`;
8
- `}}}]);
@@ -1,6 +0,0 @@
1
- "use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[9017],{79017:function(i,n,t){t.r(n),n.default={contexts:["*"],prefix:"sn-notify",label:"Open notification",description:"Open an AntD notification with custom content",content:`
2
- ctx.notification.open({
3
- message: ctx.t('Notification title'),
4
- description: ctx.t('This is a notification description'),
5
- });
6
- `}}}]);
@@ -1,5 +0,0 @@
1
- "use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[937],{60937:function(s,e,t){t.r(e),e.default={contexts:["*"],prefix:"sn-api-get",label:"GET request template",description:"Basic template to send a GET request via ctx.api",content:`
2
- const res = await ctx.api.request({ url: '/your/api', method: 'get', params: { page: 1 } });
3
- ctx.message.success(ctx.t('GET request completed'));
4
- console.log(ctx.t('GET result:'), res);
5
- `}}}]);
@@ -1,7 +0,0 @@
1
- "use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[9489],{39489:function(t,e,o){o.r(e),e.default={contexts:["JSCollectionActionRunJSContext"],prefix:"sn-act-iterate",label:"Iterate selected rows",content:`
2
- const rows = ctx.resource?.getSelectedRows?.() || [];
3
- for (const row of rows) {
4
- console.log(ctx.t('Selected row:'), row);
5
- }
6
- ctx.message.success(ctx.t('Processed {{count}} rows', { count: rows.length }));
7
- `}}}]);
@@ -1,5 +0,0 @@
1
- "use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[9663],{39663:function(t,e,n){n.r(e),e.default={contexts:["JSBlockRunJSContext"],prefix:"sn-jsb-html",label:"Render HTML",content:`
2
- ctx.element.innerHTML = \`
3
- <div style="padding:12px">\${ctx.t('Hello JSBlock')}</div>
4
- \`;
5
- `}}}]);
@@ -1,8 +0,0 @@
1
- "use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[9729],{79729:function(n,e,t){t.r(e),e.default={contexts:["JSCollectionActionRunJSContext"],prefix:"sn-act-selected-count",label:"Selected count",content:`
2
- const rows = ctx.resource?.getSelectedRows?.() || [];
3
- if (!rows.length) {
4
- ctx.message.warning(ctx.t('Please select data'));
5
- } else {
6
- ctx.message.success(ctx.t('Selected {{count}} rows', { count: rows.length }));
7
- }
8
- `}}}]);
@@ -1,4 +0,0 @@
1
- "use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[9848],{49848:function(o,e,c){c.r(e);var n={contexts:["*"],prefix:"sn-log-record",label:"Log record JSON",description:"Log current ctx.record as formatted JSON",content:`
2
- console.log(ctx.t('Current record JSON:'), JSON.stringify(ctx.record ?? {}, null, 2));
3
- ctx.message.success(ctx.t('Printed to console'));
4
- `};e.default=n}}]);
@@ -1,3 +0,0 @@
1
- (self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[2570],{73897:function(t){function y(o,c){(c==null||c>o.length)&&(c=o.length);for(var f=0,e=Array(c);f<c;f++)e[f]=o[f];return e}t.exports=y,t.exports.__esModule=!0,t.exports.default=t.exports},85372:function(t){function y(o){if(Array.isArray(o))return o}t.exports=y,t.exports.__esModule=!0,t.exports.default=t.exports},63405:function(t,y,o){var c=o(73897);function f(e){if(Array.isArray(e))return c(e)}t.exports=f,t.exports.__esModule=!0,t.exports.default=t.exports},38416:function(t,y,o){var c=o(64062);function f(e,a,s){return(a=c(a))in e?Object.defineProperty(e,a,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[a]=s,e}t.exports=f,t.exports.__esModule=!0,t.exports.default=t.exports},10434:function(t){function y(){return t.exports=y=Object.assign?Object.assign.bind():function(o){for(var c=1;c<arguments.length;c++){var f=arguments[c];for(var e in f)({}).hasOwnProperty.call(f,e)&&(o[e]=f[e])}return o},t.exports.__esModule=!0,t.exports.default=t.exports,y.apply(null,arguments)}t.exports=y,t.exports.__esModule=!0,t.exports.default=t.exports},64836:function(t){function y(o){return o&&o.__esModule?o:{default:o}}t.exports=y,t.exports.__esModule=!0,t.exports.default=t.exports},75263:function(t,y,o){var c=o(18698).default;function f(a){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(f=function(v){return v?u:s})(a)}function e(a,s){if(!s&&a&&a.__esModule)return a;if(a===null||c(a)!="object"&&typeof a!="function")return{default:a};var u=f(s);if(u&&u.has(a))return u.get(a);var _={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in a)if(x!=="default"&&{}.hasOwnProperty.call(a,x)){var g=v?Object.getOwnPropertyDescriptor(a,x):null;g&&(g.get||g.set)?Object.defineProperty(_,x,g):_[x]=a[x]}return _.default=a,u&&u.set(a,_),_}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},79498:function(t){function y(o){if(typeof Symbol<"u"&&o[Symbol.iterator]!=null||o["@@iterator"]!=null)return Array.from(o)}t.exports=y,t.exports.__esModule=!0,t.exports.default=t.exports},68872:function(t){function y(o,c){var f=o==null?null:typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(f!=null){var e,a,s,u,_=[],v=!0,x=!1;try{if(s=(f=f.call(o)).next,c===0){if(Object(f)!==f)return;v=!1}else for(;!(v=(e=s.call(f)).done)&&(_.push(e.value),_.length!==c);v=!0);}catch(g){x=!0,a=g}finally{try{if(!v&&f.return!=null&&(u=f.return(),Object(u)!==u))return}finally{if(x)throw a}}return _}}t.exports=y,t.exports.__esModule=!0,t.exports.default=t.exports},12218:function(t){function y(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}t.exports=y,t.exports.__esModule=!0,t.exports.default=t.exports},42281:function(t){function y(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
3
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}t.exports=y,t.exports.__esModule=!0,t.exports.default=t.exports},42122:function(t,y,o){var c=o(38416);function f(a,s){var u=Object.keys(a);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(a);s&&(_=_.filter(function(v){return Object.getOwnPropertyDescriptor(a,v).enumerable})),u.push.apply(u,_)}return u}function e(a){for(var s=1;s<arguments.length;s++){var u=arguments[s]!=null?arguments[s]:{};s%2?f(Object(u),!0).forEach(function(_){c(a,_,u[_])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(u)):f(Object(u)).forEach(function(_){Object.defineProperty(a,_,Object.getOwnPropertyDescriptor(u,_))})}return a}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},70215:function(t,y,o){var c=o(7071);function f(e,a){if(e==null)return{};var s,u,_=c(e,a);if(Object.getOwnPropertySymbols){var v=Object.getOwnPropertySymbols(e);for(u=0;u<v.length;u++)s=v[u],a.includes(s)||{}.propertyIsEnumerable.call(e,s)&&(_[s]=e[s])}return _}t.exports=f,t.exports.__esModule=!0,t.exports.default=t.exports},7071:function(t){function y(o,c){if(o==null)return{};var f={};for(var e in o)if({}.hasOwnProperty.call(o,e)){if(c.includes(e))continue;f[e]=o[e]}return f}t.exports=y,t.exports.__esModule=!0,t.exports.default=t.exports},27424:function(t,y,o){var c=o(85372),f=o(68872),e=o(86116),a=o(12218);function s(u,_){return c(u)||f(u,_)||e(u,_)||a()}t.exports=s,t.exports.__esModule=!0,t.exports.default=t.exports},861:function(t,y,o){var c=o(63405),f=o(79498),e=o(86116),a=o(42281);function s(u){return c(u)||f(u)||e(u)||a()}t.exports=s,t.exports.__esModule=!0,t.exports.default=t.exports},95036:function(t,y,o){var c=o(18698).default;function f(e,a){if(c(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var u=s.call(e,a||"default");if(c(u)!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(e)}t.exports=f,t.exports.__esModule=!0,t.exports.default=t.exports},64062:function(t,y,o){var c=o(18698).default,f=o(95036);function e(a){var s=f(a,"string");return c(s)=="symbol"?s:s+""}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},18698:function(t){function y(o){"@babel/helpers - typeof";return t.exports=y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},t.exports.__esModule=!0,t.exports.default=t.exports,y(o)}t.exports=y,t.exports.__esModule=!0,t.exports.default=t.exports},86116:function(t,y,o){var c=o(73897);function f(e,a){if(e){if(typeof e=="string")return c(e,a);var s={}.toString.call(e).slice(8,-1);return s==="Object"&&e.constructor&&(s=e.constructor.name),s==="Map"||s==="Set"?Array.from(e):s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?c(e,a):void 0}}t.exports=f,t.exports.__esModule=!0,t.exports.default=t.exports},15861:function(t,y,o){"use strict";o.d(y,{Z:function(){return f}});function c(e,a,s,u,_,v,x){try{var g=e[v](x),j=g.value}catch(O){return void s(O)}g.done?a(j):Promise.resolve(j).then(u,_)}function f(e){return function(){var a=this,s=arguments;return new Promise(function(u,_){var v=e.apply(a,s);function x(j){c(v,u,_,x,g,"next",j)}function g(j){c(v,u,_,x,g,"throw",j)}x(void 0)})}}},36459:function(t,y,o){"use strict";o.d(y,{Z:function(){return c}});function c(f){if(f==null)throw new TypeError("Cannot destructure "+f)}},91:function(t,y,o){"use strict";o.d(y,{Z:function(){return f}});function c(e,a){if(e==null)return{};var s={};for(var u in e)if({}.hasOwnProperty.call(e,u)){if(a.includes(u))continue;s[u]=e[u]}return s}function f(e,a){if(e==null)return{};var s,u,_=c(e,a);if(Object.getOwnPropertySymbols){var v=Object.getOwnPropertySymbols(e);for(u=0;u<v.length;u++)s=v[u],a.includes(s)||{}.propertyIsEnumerable.call(e,s)&&(_[s]=e[s])}return _}},74165:function(t,y,o){"use strict";o.d(y,{Z:function(){return f}});var c=o(71002);function f(){"use strict";f=function(){return a};var e,a={},s=Object.prototype,u=s.hasOwnProperty,_=Object.defineProperty||function(i,r,n){i[r]=n.value},v=typeof Symbol=="function"?Symbol:{},x=v.iterator||"@@iterator",g=v.asyncIterator||"@@asyncIterator",j=v.toStringTag||"@@toStringTag";function O(i,r,n){return Object.defineProperty(i,r,{value:n,enumerable:!0,configurable:!0,writable:!0}),i[r]}try{O({},"")}catch{O=function(n,p,h){return n[p]=h}}function K(i,r,n,p){var h=r&&r.prototype instanceof D?r:D,l=Object.create(h.prototype),d=new Z(p||[]);return _(l,"_invoke",{value:$(i,n,d)}),l}function W(i,r,n){try{return{type:"normal",arg:i.call(r,n)}}catch(p){return{type:"throw",arg:p}}}a.wrap=K;var F="suspendedStart",Y="suspendedYield",U="executing",k="completed",P={};function D(){}function S(){}function m(){}var C={};O(C,x,function(){return this});var R=Object.getPrototypeOf,T=R&&R(R(N([])));T&&T!==s&&u.call(T,x)&&(C=T);var A=m.prototype=D.prototype=Object.create(C);function B(i){["next","throw","return"].forEach(function(r){O(i,r,function(n){return this._invoke(r,n)})})}function I(i,r){function n(h,l,d,b){var w=W(i[h],i,l);if(w.type!=="throw"){var L=w.arg,E=L.value;return E&&(0,c.Z)(E)=="object"&&u.call(E,"__await")?r.resolve(E.__await).then(function(M){n("next",M,d,b)},function(M){n("throw",M,d,b)}):r.resolve(E).then(function(M){L.value=M,d(L)},function(M){return n("throw",M,d,b)})}b(w.arg)}var p;_(this,"_invoke",{value:function(l,d){function b(){return new r(function(w,L){n(l,d,w,L)})}return p=p?p.then(b,b):b()}})}function $(i,r,n){var p=F;return function(h,l){if(p===U)throw Error("Generator is already running");if(p===k){if(h==="throw")throw l;return{value:e,done:!0}}for(n.method=h,n.arg=l;;){var d=n.delegate;if(d){var b=H(d,n);if(b){if(b===P)continue;return b}}if(n.method==="next")n.sent=n._sent=n.arg;else if(n.method==="throw"){if(p===F)throw p=k,n.arg;n.dispatchException(n.arg)}else n.method==="return"&&n.abrupt("return",n.arg);p=U;var w=W(i,r,n);if(w.type==="normal"){if(p=n.done?k:Y,w.arg===P)continue;return{value:w.arg,done:n.done}}w.type==="throw"&&(p=k,n.method="throw",n.arg=w.arg)}}}function H(i,r){var n=r.method,p=i.iterator[n];if(p===e)return r.delegate=null,n==="throw"&&i.iterator.return&&(r.method="return",r.arg=e,H(i,r),r.method==="throw")||n!=="return"&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),P;var h=W(p,i.iterator,r.arg);if(h.type==="throw")return r.method="throw",r.arg=h.arg,r.delegate=null,P;var l=h.arg;return l?l.done?(r[i.resultName]=l.value,r.next=i.nextLoc,r.method!=="return"&&(r.method="next",r.arg=e),r.delegate=null,P):l:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,P)}function z(i){var r={tryLoc:i[0]};1 in i&&(r.catchLoc=i[1]),2 in i&&(r.finallyLoc=i[2],r.afterLoc=i[3]),this.tryEntries.push(r)}function G(i){var r=i.completion||{};r.type="normal",delete r.arg,i.completion=r}function Z(i){this.tryEntries=[{tryLoc:"root"}],i.forEach(z,this),this.reset(!0)}function N(i){if(i||i===""){var r=i[x];if(r)return r.call(i);if(typeof i.next=="function")return i;if(!isNaN(i.length)){var n=-1,p=function h(){for(;++n<i.length;)if(u.call(i,n))return h.value=i[n],h.done=!1,h;return h.value=e,h.done=!0,h};return p.next=p}}throw new TypeError((0,c.Z)(i)+" is not iterable")}return S.prototype=m,_(A,"constructor",{value:m,configurable:!0}),_(m,"constructor",{value:S,configurable:!0}),S.displayName=O(m,j,"GeneratorFunction"),a.isGeneratorFunction=function(i){var r=typeof i=="function"&&i.constructor;return!!r&&(r===S||(r.displayName||r.name)==="GeneratorFunction")},a.mark=function(i){return Object.setPrototypeOf?Object.setPrototypeOf(i,m):(i.__proto__=m,O(i,j,"GeneratorFunction")),i.prototype=Object.create(A),i},a.awrap=function(i){return{__await:i}},B(I.prototype),O(I.prototype,g,function(){return this}),a.AsyncIterator=I,a.async=function(i,r,n,p,h){h===void 0&&(h=Promise);var l=new I(K(i,r,n,p),h);return a.isGeneratorFunction(r)?l:l.next().then(function(d){return d.done?d.value:l.next()})},B(A),O(A,j,"Generator"),O(A,x,function(){return this}),O(A,"toString",function(){return"[object Generator]"}),a.keys=function(i){var r=Object(i),n=[];for(var p in r)n.push(p);return n.reverse(),function h(){for(;n.length;){var l=n.pop();if(l in r)return h.value=l,h.done=!1,h}return h.done=!0,h}},a.values=N,Z.prototype={constructor:Z,reset:function(r){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(G),!r)for(var n in this)n.charAt(0)==="t"&&u.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var r=this.tryEntries[0].completion;if(r.type==="throw")throw r.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var n=this;function p(L,E){return d.type="throw",d.arg=r,n.next=L,E&&(n.method="next",n.arg=e),!!E}for(var h=this.tryEntries.length-1;h>=0;--h){var l=this.tryEntries[h],d=l.completion;if(l.tryLoc==="root")return p("end");if(l.tryLoc<=this.prev){var b=u.call(l,"catchLoc"),w=u.call(l,"finallyLoc");if(b&&w){if(this.prev<l.catchLoc)return p(l.catchLoc,!0);if(this.prev<l.finallyLoc)return p(l.finallyLoc)}else if(b){if(this.prev<l.catchLoc)return p(l.catchLoc,!0)}else{if(!w)throw Error("try statement without catch or finally");if(this.prev<l.finallyLoc)return p(l.finallyLoc)}}}},abrupt:function(r,n){for(var p=this.tryEntries.length-1;p>=0;--p){var h=this.tryEntries[p];if(h.tryLoc<=this.prev&&u.call(h,"finallyLoc")&&this.prev<h.finallyLoc){var l=h;break}}l&&(r==="break"||r==="continue")&&l.tryLoc<=n&&n<=l.finallyLoc&&(l=null);var d=l?l.completion:{};return d.type=r,d.arg=n,l?(this.method="next",this.next=l.finallyLoc,P):this.complete(d)},complete:function(r,n){if(r.type==="throw")throw r.arg;return r.type==="break"||r.type==="continue"?this.next=r.arg:r.type==="return"?(this.rval=this.arg=r.arg,this.method="return",this.next="end"):r.type==="normal"&&n&&(this.next=n),P},finish:function(r){for(var n=this.tryEntries.length-1;n>=0;--n){var p=this.tryEntries[n];if(p.finallyLoc===r)return this.complete(p.completion,p.afterLoc),G(p),P}},catch:function(r){for(var n=this.tryEntries.length-1;n>=0;--n){var p=this.tryEntries[n];if(p.tryLoc===r){var h=p.completion;if(h.type==="throw"){var l=h.arg;G(p)}return l}}throw Error("illegal catch attempt")},delegateYield:function(r,n,p){return this.delegate={iterator:N(r),resultName:n,nextLoc:p},this.method==="next"&&(this.arg=e),P}},a}},84506:function(t,y,o){"use strict";o.d(y,{Z:function(){return s}});var c=o(83878),f=o(59199),e=o(40181),a=o(25267);function s(u){return(0,c.Z)(u)||(0,f.Z)(u)||(0,e.Z)(u)||(0,a.Z)()}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[7314],{95309:function(qn,sn,S){S.d(sn,{He:function(){return he},Ld:function(){return j},eC:function(){return fe},f3:function(){return we},iG:function(){return Ve},rS:function(){return ae},sb:function(){return V},ys:function(){return oe}});var on=S(5574),Le=S.n(on),fn=S(28785),ge=S.n(fn),ln=S(48374),Pe=S.n(ln),cn=S(31996),ke=S.n(cn),Ue=S(26037),L=S.n(Ue),je=S(12444),te=S.n(je),N=S(72004),re=S.n(N),x=S(65736),Oe=S(67294),Se=Symbol.for("Animated:node"),J=function(y){return!!y&&y[Se]===y},oe=function(y){return y&&y[Se]},we=function(y,E){return(0,x.dE)(y,Se,E)},he=function(y){return y&&y[Se]&&y[Se].getPayload()},ve=function(){function P(){te()(this,P),this.payload=void 0,we(this,this)}return re()(P,[{key:"getPayload",value:function(){return this.payload||[]}}]),P}(),Ve=function(P){ke()(E,P);var y=L()(E);function E(A){var m;return te()(this,E),m=y.call(this),m.done=!0,m.elapsedTime=void 0,m.lastPosition=void 0,m.lastVelocity=void 0,m.v0=void 0,m.durationProgress=0,m._value=A,x.is.num(m._value)&&(m.lastPosition=m._value),m}return re()(E,[{key:"getPayload",value:function(){return[this]}},{key:"getValue",value:function(){return this._value}},{key:"setValue",value:function(m,k){return x.is.num(m)&&(this.lastPosition=m,k&&(m=Math.round(m/k)*k,this.done&&(this.lastPosition=m))),this._value===m?!1:(this._value=m,!0)}},{key:"reset",value:function(){var m=this.done;this.done=!1,x.is.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,m&&(this.lastVelocity=null),this.v0=null)}}],[{key:"create",value:function(m){return new E(m)}}]),E}(ve),fe=function(P){ke()(E,P);var y=L()(E);function E(A){var m;return te()(this,E),m=y.call(this,0),m._string=null,m._toString=void 0,m._toString=(0,x.mD)({output:[A,A]}),m}return re()(E,[{key:"getValue",value:function(){var m=this._string;return m??(this._string=this._toString(this._value))}},{key:"setValue",value:function(m){if(x.is.str(m)){if(m==this._string)return!1;this._string=m,this._value=1}else if(ge()(Pe()(E.prototype),"setValue",this).call(this,m))this._string=null;else return!1;return!0}},{key:"reset",value:function(m){m&&(this._toString=(0,x.mD)({output:[this.getValue(),m]})),this._value=0,ge()(Pe()(E.prototype),"reset",this).call(this)}}],[{key:"create",value:function(m){return new E(m)}}]),E}(Ve),Te={dependencies:null},ae=function(P){ke()(E,P);var y=L()(E);function E(A){var m;return te()(this,E),m=y.call(this),m.source=A,m.setValue(A),m}return re()(E,[{key:"getValue",value:function(m){var k={};return(0,x.rU)(this.source,function($,Q){J($)?k[Q]=$.getValue(m):(0,x.j$)($)?k[Q]=(0,x.je)($):m||(k[Q]=$)}),k}},{key:"setValue",value:function(m){this.source=m,this.payload=this._makePayload(m)}},{key:"reset",value:function(){this.payload&&(0,x.S6)(this.payload,function(m){return m.reset()})}},{key:"_makePayload",value:function(m){if(m){var k=new Set;return(0,x.rU)(m,this._addToPayload,k),Array.from(k)}}},{key:"_addToPayload",value:function(m){var k=this;Te.dependencies&&(0,x.j$)(m)&&Te.dependencies.add(m);var $=he(m);$&&(0,x.S6)($,function(Q){return k.add(Q)})}}]),E}(ve),o=function(P){ke()(E,P);var y=L()(E);function E(A){return te()(this,E),y.call(this,A)}return re()(E,[{key:"getValue",value:function(){return this.source.map(function(m){return m.getValue()})}},{key:"setValue",value:function(m){var k=this.getPayload();return m.length==k.length?k.map(function($,Q){return $.setValue(m[Q])}).some(Boolean):(ge()(Pe()(E.prototype),"setValue",this).call(this,m.map(le)),!0)}}],[{key:"create",value:function(m){return new E(m)}}]),E}(ae);function le(P){var y=(0,x.Df)(P)?fe:Ve;return y.create(P)}function V(P){var y=oe(P);return y?y.constructor:x.is.arr(P)?o:(0,x.Df)(P)?fe:Ve}function B(){return B=Object.assign?Object.assign.bind():function(P){for(var y=1;y<arguments.length;y++){var E=arguments[y];for(var A in E)Object.prototype.hasOwnProperty.call(E,A)&&(P[A]=E[A])}return P},B.apply(this,arguments)}var ee=function(y,E){var A=!x.is.fun(y)||y.prototype&&y.prototype.isReactComponent;return(0,Oe.forwardRef)(function(m,k){var $=(0,Oe.useRef)(null),Q=A&&(0,Oe.useCallback)(function(de){$.current=Ge(k,de)},[k]),ce=Je(m,E),X=Le()(ce,2),K=X[0],H=X[1],U=(0,x.NW)(),me=function(){var Be=$.current;if(!(A&&!Be)){var be=Be?E.applyAnimatedValues(Be,K.getValue(!0)):!1;be===!1&&U()}},Xe=new ie(me,H),Ie=(0,Oe.useRef)();(0,x.LI)(function(){return Ie.current=Xe,(0,x.S6)(H,function(de){return(0,x.UI)(de,Xe)}),function(){Ie.current&&((0,x.S6)(Ie.current.deps,function(de){return(0,x.iL)(de,Ie.current)}),x.Wn.cancel(Ie.current.update))}}),(0,Oe.useEffect)(me,[]),(0,x.tf)(function(){return function(){var de=Ie.current;(0,x.S6)(de.deps,function(Be){return(0,x.iL)(Be,de)})}});var We=E.getComponentProps(K.getValue());return Oe.createElement(y,B({},We,{ref:Q}))})},ie=function(){function P(y,E){te()(this,P),this.update=y,this.deps=E}return re()(P,[{key:"eventObserved",value:function(E){E.type=="change"&&x.Wn.write(this.update)}}]),P}();function Je(P,y){var E=new Set;return Te.dependencies=E,P.style&&(P=B({},P,{style:y.createAnimatedStyle(P.style)})),P=new ae(P),Te.dependencies=null,[P,E]}function Ge(P,y){return P&&(x.is.fun(P)?P(y):P.current=y),y}var qe=Symbol.for("AnimatedComponent"),j=function(y){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},A=E.applyAnimatedValues,m=A===void 0?function(){return!1}:A,k=E.createAnimatedStyle,$=k===void 0?function(H){return new ae(H)}:k,Q=E.getComponentProps,ce=Q===void 0?function(H){return H}:Q,X={applyAnimatedValues:m,createAnimatedStyle:$,getComponentProps:ce},K=function H(U){var me=D(U)||"Anonymous";return x.is.str(U)?U=H[U]||(H[U]=ee(U,X)):U=U[qe]||(U[qe]=ee(U,X)),U.displayName="Animated(".concat(me,")"),U};return(0,x.rU)(y,function(H,U){x.is.arr(y)&&(U=D(H)),K[U]=K(H)}),{animated:K}},D=function(y){return x.is.str(y)?y:y&&x.is.str(y.displayName)?y.displayName:x.is.fun(y)&&y.name||null}},99799:function(qn,sn,S){S.d(sn,{Globals:function(){return o.OH},useSpring:function(){return Qe}});var on=S(25098),Le=S.n(on),fn=S(19632),ge=S.n(fn),ln=S(5574),Pe=S.n(ln),cn=S(28785),ke=S.n(cn),Ue=S(48374),L=S.n(Ue),je=S(31996),te=S.n(je),N=S(26037),re=S.n(N),x=S(12665),Oe=S.n(x),Se=S(15009),J=S.n(Se),oe=S(99289),we=S.n(oe),he=S(72004),ve=S.n(he),Ve=S(12444),fe=S.n(Ve),Te=S(96695),ae=S.n(Te),o=S(65736),le=S(67294),V=S(95309);function B(){return B=Object.assign?Object.assign.bind():function(u){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(u[s]=n[s])}return u},B.apply(this,arguments)}function ee(u){for(var r=arguments.length,n=new Array(r>1?r-1:0),s=1;s<r;s++)n[s-1]=arguments[s];return o.is.fun(u)?u.apply(void 0,n):u}var ie=function(r,n){return r===!0||!!(n&&r&&(o.is.fun(r)?r(n):(0,o.qo)(r).includes(n)))},Je=function(r,n){return o.is.obj(r)?n&&r[n]:r},Ge=function(r,n){return r.default===!0?r[n]:r.default?r.default[n]:void 0},qe=function(r){return r},j=function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:qe,s=D;r.default&&r.default!==!0&&(r=r.default,s=Object.keys(r));var a={},i=ae()(s),l;try{for(i.s();!(l=i.n()).done;){var h=l.value,p=n(r[h],h);o.is.und(p)||(a[h]=p)}}catch(v){i.e(v)}finally{i.f()}return a},D=["config","onProps","onStart","onChange","onPause","onResume","onRest"],P={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function y(u){var r={},n=0;if((0,o.rU)(u,function(s,a){P[a]||(r[a]=s,n++)}),n)return r}function E(u){var r=y(u);if(r){var n={to:r};return(0,o.rU)(u,function(s,a){return a in r||(n[a]=s)}),n}return B({},u)}function A(u){return u=(0,o.je)(u),o.is.arr(u)?u.map(A):(0,o.Df)(u)?o.OH.createStringInterpolator({range:[0,1],output:[u,u]})(1):u}function m(u){for(var r in u)return!0;return!1}function k(u){return o.is.fun(u)||o.is.arr(u)&&o.is.obj(u[0])}function $(u,r){var n;(n=u.ref)==null||n.delete(u),r==null||r.delete(u)}function Q(u,r){if(r&&u.ref!==r){var n;(n=u.ref)==null||n.delete(u),r.add(u),u.ref=r}}function ce(u,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1e3;useIsomorphicLayoutEffect(function(){if(r){var s=0;each(u,function(i,l){var h=i.current;if(h.length){var p=n*r[l];isNaN(p)?p=s:s=p,each(h,function(v){each(v.queue,function(R){var I=R.delay;R.delay=function(O){return p+ee(I||0,O)}})}),i.start()}})}else{var a=Promise.resolve();each(u,function(i){var l=i.current;if(l.length){var h=l.map(function(p){var v=p.queue;return p.queue=[],v});a=a.then(function(){return each(l,function(p,v){return each(h[v]||[],function(R){return p.queue.push(R)})}),Promise.all(i.start())})}})}})}var X={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},K=B({},X.default,{mass:1,damping:1,easing:o.Z5.linear,clamp:!1}),H=ve()(function u(){fe()(this,u),this.tension=void 0,this.friction=void 0,this.frequency=void 0,this.damping=void 0,this.mass=void 0,this.velocity=0,this.restVelocity=void 0,this.precision=void 0,this.progress=void 0,this.duration=void 0,this.easing=void 0,this.clamp=void 0,this.bounce=void 0,this.decay=void 0,this.round=void 0,Object.assign(this,K)});function U(u,r,n){n&&(n=B({},n),me(n,r),r=B({},n,r)),me(u,r),Object.assign(u,r);for(var s in K)u[s]==null&&(u[s]=K[s]);var a=u.mass,i=u.frequency,l=u.damping;return o.is.und(i)||(i<.01&&(i=.01),l<0&&(l=0),u.tension=Math.pow(2*Math.PI/i,2)*a,u.friction=4*Math.PI*l*a/i),u}function me(u,r){if(!o.is.und(r.decay))u.duration=void 0;else{var n=!o.is.und(r.tension)||!o.is.und(r.friction);(n||!o.is.und(r.frequency)||!o.is.und(r.damping)||!o.is.und(r.mass))&&(u.duration=void 0,u.decay=void 0),n&&(u.frequency=void 0)}}var Xe=[],Ie=ve()(function u(){fe()(this,u),this.changed=!1,this.values=Xe,this.toValues=null,this.fromValues=Xe,this.to=void 0,this.from=void 0,this.config=new H,this.immediate=!1});function We(u,r){var n=r.key,s=r.props,a=r.defaultProps,i=r.state,l=r.actions;return new Promise(function(h,p){var v,R,I,O=ie((v=s.cancel)!=null?v:a==null?void 0:a.cancel,n);if(O)f();else{o.is.und(s.pause)||(i.paused=ie(s.pause,n));var T=a==null?void 0:a.pause;T!==!0&&(T=i.paused||ie(T,n)),R=ee(s.delay||0,n),T?(i.resumeQueue.add(e),l.pause()):(l.resume(),e())}function t(){i.resumeQueue.add(e),i.timeouts.delete(I),I.cancel(),R=I.time-o.Wn.now()}function e(){R>0&&!o.OH.skipAnimation?(i.delayed=!0,I=o.Wn.setTimeout(f,R),i.pauseQueue.add(t),i.timeouts.add(I)):f()}function f(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(t),i.timeouts.delete(I),u<=(i.cancelId||0)&&(O=!0);try{l.start(B({},s,{callId:u,cancel:O}),h)}catch(c){p(c)}}})}var de=function(r,n){return n.length==1?n[0]:n.some(function(s){return s.cancelled})?en(r.get()):n.every(function(s){return s.noop})?Be(r.get()):be(r.get(),n.every(function(s){return s.finished}))},Be=function(r){return{value:r,noop:!0,finished:!0,cancelled:!1}},be=function(r,n){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return{value:r,finished:n,cancelled:s}},en=function(r){return{value:r,cancelled:!0,finished:!1}};function Ae(u,r,n,s){var a=r.callId,i=r.parentId,l=r.onRest,h=n.asyncTo,p=n.promise;return!i&&u===h&&!r.reset?p:n.promise=we()(J()().mark(function v(){var R,I,O,T,t,e,f,c;return J()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(n.asyncId=a,n.asyncTo=u,R=j(r,function(g,b){return b==="onRest"?void 0:g}),T=new Promise(function(g,b){return I=g,O=b}),t=function(b){var M=a<=(n.cancelId||0)&&en(s)||a!==n.asyncId&&be(s,!1);if(M)throw b.result=M,O(b),b},e=function(b,M){var w=new dn,F=new Fn;return we()(J()().mark(function W(){var Y,z;return J()().wrap(function(Z){for(;;)switch(Z.prev=Z.next){case 0:if(!o.OH.skipAnimation){Z.next=5;break}throw Fe(n),F.result=be(s,!1),O(F),F;case 5:return t(w),Y=o.is.obj(b)?B({},b):B({},M,{to:b}),Y.parentId=a,(0,o.rU)(R,function(Ce,ue){o.is.und(Y[ue])&&(Y[ue]=Ce)}),Z.next=11,s.start(Y);case 11:if(z=Z.sent,t(w),!n.paused){Z.next=16;break}return Z.next=16,new Promise(function(Ce){n.resumeQueue.add(Ce)});case 16:return Z.abrupt("return",z);case 17:case"end":return Z.stop()}},W)}))()},!o.OH.skipAnimation){d.next=9;break}return Fe(n),d.abrupt("return",be(s,!1));case 9:return d.prev=9,o.is.arr(u)?c=function(){var g=we()(J()().mark(function b(M){var w,F,W;return J()().wrap(function(z){for(;;)switch(z.prev=z.next){case 0:w=ae()(M),z.prev=1,w.s();case 3:if((F=w.n()).done){z.next=9;break}return W=F.value,z.next=7,e(W);case 7:z.next=3;break;case 9:z.next=14;break;case 11:z.prev=11,z.t0=z.catch(1),w.e(z.t0);case 14:return z.prev=14,w.f(),z.finish(14);case 17:case"end":return z.stop()}},b,null,[[1,11,14,17]])}));return function(b){return g.apply(this,arguments)}}()(u):c=Promise.resolve(u(e,s.stop.bind(s))),d.next=13,Promise.all([c.then(I),T]);case 13:f=be(s.get(),!0,!1),d.next=27;break;case 16:if(d.prev=16,d.t0=d.catch(9),!(d.t0 instanceof dn)){d.next=22;break}f=d.t0.result,d.next=27;break;case 22:if(!(d.t0 instanceof Fn)){d.next=26;break}f=d.t0.result,d.next=27;break;case 26:throw d.t0;case 27:return d.prev=27,a==n.asyncId&&(n.asyncId=i,n.asyncTo=i?h:void 0,n.promise=i?p:void 0),d.finish(27);case 30:return o.is.fun(l)&&o.Wn.batchedUpdates(function(){l(f,s,s.item)}),d.abrupt("return",f);case 32:case"end":return d.stop()}},v,null,[[9,16,27,30]])}))()}function Fe(u,r){(0,o.yl)(u.timeouts,function(n){return n.cancel()}),u.pauseQueue.clear(),u.resumeQueue.clear(),u.asyncId=u.asyncTo=u.promise=void 0,r&&(u.cancelId=r)}var dn=function(u){te()(n,u);var r=re()(n);function n(){var s;return fe()(this,n),s=r.call(this,"An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."),s.result=void 0,s}return ve()(n)}(Oe()(Error)),Fn=function(u){te()(n,u);var r=re()(n);function n(){var s;return fe()(this,n),s=r.call(this,"SkipAnimationSignal"),s.result=void 0,s}return ve()(n)}(Oe()(Error)),An=function(r){return r instanceof wn},et=1,wn=function(u){te()(n,u);var r=re()(n);function n(){var s;fe()(this,n);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return s=r.call.apply(r,[this].concat(i)),s.id=et++,s.key=void 0,s._priority=0,s}return ve()(n,[{key:"priority",get:function(){return this._priority},set:function(a){this._priority!=a&&(this._priority=a,this._onPriorityChange(a))}},{key:"get",value:function(){var a=(0,V.ys)(this);return a&&a.getValue()}},{key:"to",value:function(){for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return o.OH.to(this,i)}},{key:"interpolate",value:function(){(0,o.LW)();for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return o.OH.to(this,i)}},{key:"toJSON",value:function(){return this.get()}},{key:"observerAdded",value:function(a){a==1&&this._attach()}},{key:"observerRemoved",value:function(a){a==0&&this._detach()}},{key:"_attach",value:function(){}},{key:"_detach",value:function(){}},{key:"_onChange",value:function(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;(0,o.k0)(this,{type:"change",parent:this,value:a,idle:i})}},{key:"_onPriorityChange",value:function(a){this.idle||o.fT.sort(this),(0,o.k0)(this,{type:"priority",parent:this,priority:a})}}]),n}(o.B0),Ye=Symbol.for("SpringPhase"),Kn=1,In=2,Rn=4,xn=function(r){return(r[Ye]&Kn)>0},Me=function(r){return(r[Ye]&In)>0},nn=function(r){return(r[Ye]&Rn)>0},Ze=function(r,n){return n?r[Ye]|=In|Kn:r[Ye]&=~In},Mn=function(r,n){return n?r[Ye]|=Rn:r[Ye]&=~Rn},Cn=function(u){te()(n,u);var r=re()(n);function n(s,a){var i;if(fe()(this,n),i=r.call(this),i.key=void 0,i.animation=new Ie,i.queue=void 0,i.defaultProps={},i._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},i._pendingCalls=new Set,i._lastCallId=0,i._lastToId=0,i._memoizedDuration=0,!o.is.und(s)||!o.is.und(a)){var l=o.is.obj(s)?B({},s):B({},a,{from:s});o.is.und(l.default)&&(l.default=!0),i.start(l)}return i}return ve()(n,[{key:"idle",get:function(){return!(Me(this)||this._state.asyncTo)||nn(this)}},{key:"goal",get:function(){return(0,o.je)(this.animation.to)}},{key:"velocity",get:function(){var a=(0,V.ys)(this);return a instanceof V.iG?a.lastVelocity||0:a.getPayload().map(function(i){return i.lastVelocity||0})}},{key:"hasAnimated",get:function(){return xn(this)}},{key:"isAnimating",get:function(){return Me(this)}},{key:"isPaused",get:function(){return nn(this)}},{key:"isDelayed",get:function(){return this._state.delayed}},{key:"advance",value:function(a){var i=this,l=!0,h=!1,p=this.animation,v=p.config,R=p.toValues,I=(0,V.He)(p.to);!I&&(0,o.j$)(p.to)&&(R=(0,o.qo)((0,o.je)(p.to))),p.values.forEach(function(e,f){if(!e.done){var c=e.constructor==V.eC?1:I?I[f].lastPosition:R[f],_=p.immediate,d=c;if(!_){if(d=e.lastPosition,v.tension<=0){e.done=!0;return}var g=e.elapsedTime+=a,b=p.fromValues[f],M=e.v0!=null?e.v0:e.v0=o.is.arr(v.velocity)?v.velocity[f]:v.velocity,w,F=v.precision||(b==c?.005:Math.min(1,Math.abs(c-b)*.001));if(o.is.und(v.duration))if(v.decay){var Y=v.decay===!0?.998:v.decay,z=Math.exp(-(1-Y)*g);d=b+M/(1-Y)*(1-z),_=Math.abs(e.lastPosition-d)<=F,w=M*z}else{w=e.lastVelocity==null?M:e.lastVelocity;for(var De=v.restVelocity||F/10,Z=v.clamp?0:v.bounce,Ce=!o.is.und(Z),ue=b==c?e.v0>0:b<c,se,Re=!1,ne=1,mn=Math.ceil(a/ne),pn=0;pn<mn&&(se=Math.abs(w)>De,!(!se&&(_=Math.abs(c-d)<=F,_)));++pn){Ce&&(Re=d==c||d>c==ue,Re&&(w=-w*Z,d=c));var gn=-v.tension*1e-6*(d-c),C=-v.friction*.001*w,G=(gn+C)/v.mass;w=w+G*ne,d=d+w*ne}}else{var W=1;v.duration>0&&(i._memoizedDuration!==v.duration&&(i._memoizedDuration=v.duration,e.durationProgress>0&&(e.elapsedTime=v.duration*e.durationProgress,g=e.elapsedTime+=a)),W=(v.progress||0)+g/i._memoizedDuration,W=W>1?1:W<0?0:W,e.durationProgress=W),d=b+v.easing(W)*(c-b),w=(d-e.lastPosition)/a,_=W==1}e.lastVelocity=w,Number.isNaN(d)&&(console.warn("Got NaN while animating:",i),_=!0)}I&&!I[f].done&&(_=!1),_?e.done=!0:l=!1,e.setValue(d,v.round)&&(h=!0)}});var O=(0,V.ys)(this),T=O.getValue();if(l){var t=(0,o.je)(p.to);(T!==t||h)&&!v.decay?(O.setValue(t),this._onChange(t)):h&&v.decay&&this._onChange(T),this._stop()}else h&&this._onChange(T)}},{key:"set",value:function(a){var i=this;return o.Wn.batchedUpdates(function(){i._stop(),i._focus(a),i._set(a)}),this}},{key:"pause",value:function(){this._update({pause:!0})}},{key:"resume",value:function(){this._update({pause:!1})}},{key:"finish",value:function(){var a=this;if(Me(this)){var i=this.animation,l=i.to,h=i.config;o.Wn.batchedUpdates(function(){a._onStart(),h.decay||a._set(l,!1),a._stop()})}return this}},{key:"update",value:function(a){var i=this.queue||(this.queue=[]);return i.push(a),this}},{key:"start",value:function(a,i){var l=this,h;return o.is.und(a)?(h=this.queue||[],this.queue=[]):h=[o.is.obj(a)?a:B({},i,{to:a})],Promise.all(h.map(function(p){var v=l._update(p);return v})).then(function(p){return de(l,p)})}},{key:"stop",value:function(a){var i=this,l=this.animation.to;return this._focus(this.get()),Fe(this._state,a&&this._lastCallId),o.Wn.batchedUpdates(function(){return i._stop(l,a)}),this}},{key:"reset",value:function(){this._update({reset:!0})}},{key:"eventObserved",value:function(a){a.type=="change"?this._start():a.type=="priority"&&(this.priority=a.priority+1)}},{key:"_prepareNode",value:function(a){var i=this.key||"",l=a.to,h=a.from;l=o.is.obj(l)?l[i]:l,(l==null||k(l))&&(l=void 0),h=o.is.obj(h)?h[i]:h,h==null&&(h=void 0);var p={to:l,from:h};if(!xn(this)){if(a.reverse){var v=[h,l];l=v[0],h=v[1]}h=(0,o.je)(h),o.is.und(h)?(0,V.ys)(this)||this._set(l):this._set(h)}return p}},{key:"_update",value:function(a,i){var l=this,h=B({},a),p=this.key,v=this.defaultProps;h.default&&Object.assign(v,j(h,function(O,T){return/^on/.test(T)?Je(O,p):O})),_n(this,h,"onProps"),$e(this,"onProps",h,this);var R=this._prepareNode(h);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");var I=this._state;return We(++this._lastCallId,{key:p,props:h,defaultProps:v,state:I,actions:{pause:function(){nn(l)||(Mn(l,!0),(0,o.bl)(I.pauseQueue),$e(l,"onPause",be(l,Ke(l,l.animation.to)),l))},resume:function(){nn(l)&&(Mn(l,!1),Me(l)&&l._resume(),(0,o.bl)(I.resumeQueue),$e(l,"onResume",be(l,Ke(l,l.animation.to)),l))},start:this._merge.bind(this,R)}}).then(function(O){if(h.loop&&O.finished&&!(i&&O.noop)){var T=kn(h);if(T)return l._update(T,!0)}return O})}},{key:"_merge",value:function(a,i,l){var h=this;if(i.cancel)return this.stop(!0),l(en(this));var p=!o.is.und(a.to),v=!o.is.und(a.from);if(p||v)if(i.callId>this._lastToId)this._lastToId=i.callId;else return l(en(this));var R=this.key,I=this.defaultProps,O=this.animation,T=O.to,t=O.from,e=a.to,f=e===void 0?T:e,c=a.from,_=c===void 0?t:c;if(v&&!p&&(!i.default||o.is.und(f))&&(f=_),i.reverse){var d=[_,f];f=d[0],_=d[1]}var g=!(0,o.Xy)(_,t);g&&(O.from=_),_=(0,o.je)(_);var b=!(0,o.Xy)(f,T);b&&this._focus(f);var M=k(i.to),w=O.config,F=w.decay,W=w.velocity;(p||v)&&(w.velocity=0),i.config&&!M&&U(w,ee(i.config,R),i.config!==I.config?ee(I.config,R):void 0);var Y=(0,V.ys)(this);if(!Y||o.is.und(f))return l(be(this,!0));var z=o.is.und(i.reset)?v&&!i.default:!o.is.und(_)&&ie(i.reset,R),De=z?_:this.get(),Z=A(f),Ce=o.is.num(Z)||o.is.arr(Z)||(0,o.Df)(Z),ue=!M&&(!Ce||ie(I.immediate||i.immediate,R));if(b){var se=(0,V.sb)(f);if(se!==Y.constructor)if(ue)Y=this._set(Z);else throw Error("Cannot animate between ".concat(Y.constructor.name," and ").concat(se.name,', as the "to" prop suggests'))}var Re=Y.constructor,ne=(0,o.j$)(f),mn=!1;if(!ne){var pn=z||!xn(this)&&g;(b||pn)&&(mn=(0,o.Xy)(A(De),Z),ne=!mn),(!(0,o.Xy)(O.immediate,ue)&&!ue||!(0,o.Xy)(w.decay,F)||!(0,o.Xy)(w.velocity,W))&&(ne=!0)}if(mn&&Me(this)&&(O.changed&&!z?ne=!0:ne||this._stop(T)),!M&&((ne||(0,o.j$)(T))&&(O.values=Y.getPayload(),O.toValues=(0,o.j$)(f)?null:Re==V.eC?[1]:(0,o.qo)(Z)),O.immediate!=ue&&(O.immediate=ue,!ue&&!z&&this._set(T)),ne)){var gn=O.onRest;(0,o.S6)(tt,function(G){return _n(h,i,G)});var C=be(this,Ke(this,T));(0,o.bl)(this._pendingCalls,C),this._pendingCalls.add(l),O.changed&&o.Wn.batchedUpdates(function(){O.changed=!z,gn==null||gn(C,h),z?ee(I.onRest,C):O.onStart==null||O.onStart(C,h)})}z&&this._set(De),M?l(Ae(i.to,i,this._state,this)):ne?this._start():Me(this)&&!b?this._pendingCalls.add(l):l(Be(De))}},{key:"_focus",value:function(a){var i=this.animation;a!==i.to&&((0,o.Ll)(this)&&this._detach(),i.to=a,(0,o.Ll)(this)&&this._attach())}},{key:"_attach",value:function(){var a=0,i=this.animation.to;(0,o.j$)(i)&&((0,o.UI)(i,this),An(i)&&(a=i.priority+1)),this.priority=a}},{key:"_detach",value:function(){var a=this.animation.to;(0,o.j$)(a)&&(0,o.iL)(a,this)}},{key:"_set",value:function(a){var i=this,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,h=(0,o.je)(a);if(!o.is.und(h)){var p=(0,V.ys)(this);if(!p||!(0,o.Xy)(h,p.getValue())){var v=(0,V.sb)(h);!p||p.constructor!=v?(0,V.f3)(this,v.create(h)):p.setValue(h),p&&o.Wn.batchedUpdates(function(){i._onChange(h,l)})}}return(0,V.ys)(this)}},{key:"_onStart",value:function(){var a=this.animation;a.changed||(a.changed=!0,$e(this,"onStart",be(this,Ke(this,a.to)),this))}},{key:"_onChange",value:function(a,i){i||(this._onStart(),ee(this.animation.onChange,a,this)),ee(this.defaultProps.onChange,a,this),ke()(L()(n.prototype),"_onChange",this).call(this,a,i)}},{key:"_start",value:function(){var a=this.animation;(0,V.ys)(this).reset((0,o.je)(a.to)),a.immediate||(a.fromValues=a.values.map(function(i){return i.lastPosition})),Me(this)||(Ze(this,!0),nn(this)||this._resume())}},{key:"_resume",value:function(){o.OH.skipAnimation?this.finish():o.fT.start(this)}},{key:"_stop",value:function(a,i){if(Me(this)){Ze(this,!1);var l=this.animation;(0,o.S6)(l.values,function(p){p.done=!0}),l.toValues&&(l.onChange=l.onPause=l.onResume=void 0),(0,o.k0)(this,{type:"idle",parent:this});var h=i?en(this.get()):be(this.get(),Ke(this,a??l.to));(0,o.bl)(this._pendingCalls,h),l.changed&&(l.changed=!1,$e(this,"onRest",h,this))}}}]),n}(wn);function Ke(u,r){var n=A(r),s=A(u.get());return(0,o.Xy)(s,n)}function kn(u){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:u.loop,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:u.to,s=ee(r);if(s){var a=s!==!0&&E(s),i=(a||u).reverse,l=!a||a.reset;return tn(B({},u,{loop:r,default:!1,pause:void 0,to:!i||k(n)?n:void 0,from:l?u.from:void 0,reset:l},a))}}function tn(u){var r=u=E(u),n=r.to,s=r.from,a=new Set;return o.is.obj(n)&&$n(n,a),o.is.obj(s)&&$n(s,a),u.keys=a.size?Array.from(a):null,u}function nt(u){var r=tn(u);return o.is.und(r.default)&&(r.default=j(r)),r}function $n(u,r){(0,o.rU)(u,function(n,s){return n!=null&&r.add(s)})}var tt=["onStart","onRest","onChange","onPause","onResume"];function _n(u,r,n){u.animation[n]=r[n]!==Ge(r,n)?Je(r[n],u.key):void 0}function $e(u,r){for(var n,s,a,i,l,h,p=arguments.length,v=new Array(p>2?p-2:0),R=2;R<p;R++)v[R-2]=arguments[R];(a=(i=u.animation)[r])==null||(n=a).call.apply(n,[i].concat(v)),(l=(h=u.defaultProps)[r])==null||(s=l).call.apply(s,[h].concat(v))}var zn=["onStart","onChange","onRest"],Nn=1,jn=function(){function u(r,n){fe()(this,u),this.id=Nn++,this.springs={},this.queue=[],this.ref=void 0,this._flush=void 0,this._initialProps=void 0,this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._item=void 0,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),n&&(this._flush=n),r&&this.start(B({default:!0},r))}return ve()(u,[{key:"idle",get:function(){return!this._state.asyncTo&&Object.values(this.springs).every(function(n){return n.idle&&!n.isDelayed&&!n.isPaused})}},{key:"item",get:function(){return this._item},set:function(n){this._item=n}},{key:"get",value:function(){var n={};return this.each(function(s,a){return n[a]=s.get()}),n}},{key:"set",value:function(n){for(var s in n){var a=n[s];o.is.und(a)||this.springs[s].set(a)}}},{key:"update",value:function(n){return n&&this.queue.push(tn(n)),this}},{key:"start",value:function(n){var s=this.queue;return n?s=(0,o.qo)(n).map(tn):this.queue=[],this._flush?this._flush(this,s):(Gn(this,s),rn(this,s))}},{key:"stop",value:function(n,s){if(n!==!!n&&(s=n),s){var a=this.springs;(0,o.S6)((0,o.qo)(s),function(i){return a[i].stop(!!n)})}else Fe(this._state,this._lastAsyncId),this.each(function(i){return i.stop(!!n)});return this}},{key:"pause",value:function(n){if(o.is.und(n))this.start({pause:!0});else{var s=this.springs;(0,o.S6)((0,o.qo)(n),function(a){return s[a].pause()})}return this}},{key:"resume",value:function(n){if(o.is.und(n))this.start({pause:!1});else{var s=this.springs;(0,o.S6)((0,o.qo)(n),function(a){return s[a].resume()})}return this}},{key:"each",value:function(n){(0,o.rU)(this.springs,n)}},{key:"_onFrame",value:function(){var n=this,s=this._events,a=s.onStart,i=s.onChange,l=s.onRest,h=this._active.size>0,p=this._changed.size>0;(h&&!this._started||p&&!this._started)&&(this._started=!0,(0,o.yl)(a,function(I){var O=Pe()(I,2),T=O[0],t=O[1];t.value=n.get(),T(t,n,n._item)}));var v=!h&&this._started,R=p||v&&l.size?this.get():null;p&&i.size&&(0,o.yl)(i,function(I){var O=Pe()(I,2),T=O[0],t=O[1];t.value=R,T(t,n,n._item)}),v&&(this._started=!1,(0,o.yl)(l,function(I){var O=Pe()(I,2),T=O[0],t=O[1];t.value=R,T(t,n,n._item)}))}},{key:"eventObserved",value:function(n){if(n.type=="change")this._changed.add(n.parent),n.idle||this._active.add(n.parent);else if(n.type=="idle")this._active.delete(n.parent);else return;o.Wn.onFrame(this._onFrame)}}]),u}();function rn(u,r){return Promise.all(r.map(function(n){return Hn(u,n)})).then(function(n){return de(u,n)})}function Hn(u,r,n){return hn.apply(this,arguments)}function hn(){return hn=we()(J()().mark(function u(r,n,s){var a,i,l,h,p,v,R,I,O,T,t,e,f;return J()().wrap(function(_){for(;;)switch(_.prev=_.next){case 0:if(a=n.keys,i=n.to,l=n.from,h=n.loop,p=n.onRest,v=n.onResolve,R=o.is.obj(n.default)&&n.default,h&&(n.loop=!1),i===!1&&(n.to=null),l===!1&&(n.from=null),I=o.is.arr(i)||o.is.fun(i)?i:void 0,I?(n.to=void 0,n.onRest=void 0,R&&(R.onRest=void 0)):(0,o.S6)(zn,function(d){var g=n[d];if(o.is.fun(g)){var b=r._events[d];n[d]=function(M){var w=M.finished,F=M.cancelled,W=b.get(g);W?(w||(W.finished=!1),F&&(W.cancelled=!0)):b.set(g,{value:null,finished:w||!1,cancelled:F||!1})},R&&(R[d]=n[d])}}),O=r._state,n.pause===!O.paused?(O.paused=n.pause,(0,o.bl)(n.pause?O.pauseQueue:O.resumeQueue)):O.paused&&(n.pause=!0),T=(a||Object.keys(r.springs)).map(function(d){return r.springs[d].start(n)}),t=n.cancel===!0||Ge(n,"cancel")===!0,(I||t&&O.asyncId)&&T.push(We(++r._lastAsyncId,{props:n,state:O,actions:{pause:o.ZT,resume:o.ZT,start:function(g,b){t?(Fe(O,r._lastAsyncId),b(en(r))):(g.onRest=p,b(Ae(I,g,O,r)))}}})),!O.paused){_.next=15;break}return _.next=15,new Promise(function(d){O.resumeQueue.add(d)});case 15:return _.t0=de,_.t1=r,_.next=19,Promise.all(T);case 19:if(_.t2=_.sent,e=(0,_.t0)(_.t1,_.t2),!(h&&e.finished&&!(s&&e.noop))){_.next=26;break}if(f=kn(n,h,i),!f){_.next=26;break}return Gn(r,[f]),_.abrupt("return",Hn(r,f,!0));case 26:return v&&o.Wn.batchedUpdates(function(){return v(e,r,r.item)}),_.abrupt("return",e);case 28:case"end":return _.stop()}},u)})),hn.apply(this,arguments)}function ze(u,r){var n=B({},u.springs);return r&&(0,o.S6)((0,o.qo)(r),function(s){o.is.und(s.keys)&&(s=tn(s)),o.is.obj(s.to)||(s=B({},s,{to:void 0})),Tn(n,s,function(a){return Qn(a)})}),Ne(u,n),n}function Ne(u,r){(0,o.rU)(r,function(n,s){u.springs[s]||(u.springs[s]=n,(0,o.UI)(n,u))})}function Qn(u,r){var n=new Cn;return n.key=u,r&&(0,o.UI)(n,r),n}function Tn(u,r,n){r.keys&&(0,o.S6)(r.keys,function(s){var a=u[s]||(u[s]=n(s));a._prepareNode(r)})}function Gn(u,r){(0,o.S6)(r,function(n){Tn(u.springs,n,function(s){return Qn(s,u)})})}function He(u,r){if(u==null)return{};var n={},s=Object.keys(u),a,i;for(i=0;i<s.length;i++)a=s[i],!(r.indexOf(a)>=0)&&(n[a]=u[a]);return n}var rt=["children"],vn=function(r){var n=r.children,s=He(r,rt),a=(0,le.useContext)(yn),i=s.pause||!!a.pause,l=s.immediate||!!a.immediate;s=(0,o.Pr)(function(){return{pause:i,immediate:l}},[i,l]);var h=yn.Provider;return le.createElement(h,{value:s},n)},yn=at(vn,{});vn.Provider=yn.Provider,vn.Consumer=yn.Consumer;function at(u,r){return Object.assign(u,le.createContext(r)),u.Provider._context=u,u.Consumer._context=u,u}var Dn=function(){var r=[],n=function(i){(0,o.ZR)();var l=[];return(0,o.S6)(r,function(h,p){if(o.is.und(i))l.push(h.start());else{var v=s(i,h,p);v&&l.push(h.start(v))}}),l};n.current=r,n.add=function(a){r.includes(a)||r.push(a)},n.delete=function(a){var i=r.indexOf(a);~i&&r.splice(i,1)},n.pause=function(){var a=arguments;return(0,o.S6)(r,function(i){return i.pause.apply(i,ge()(a))}),this},n.resume=function(){var a=arguments;return(0,o.S6)(r,function(i){return i.resume.apply(i,ge()(a))}),this},n.set=function(a){(0,o.S6)(r,function(i){return i.set(a)})},n.start=function(a){var i=this,l=[];return(0,o.S6)(r,function(h,p){if(o.is.und(a))l.push(h.start());else{var v=i._getProps(a,h,p);v&&l.push(h.start(v))}}),l},n.stop=function(){var a=arguments;return(0,o.S6)(r,function(i){return i.stop.apply(i,ge()(a))}),this},n.update=function(a){var i=this;return(0,o.S6)(r,function(l,h){return l.update(i._getProps(a,l,h))}),this};var s=function(i,l,h){return o.is.fun(i)?i(h,l):i};return n._getProps=s,n};function Ln(u,r,n){var s=arguments,a=o.is.fun(r)&&r;a&&!n&&(n=[]);var i=(0,le.useMemo)(function(){return a||s.length==3?Dn():void 0},[]),l=(0,le.useRef)(0),h=(0,o.NW)(),p=(0,le.useMemo)(function(){return{ctrls:[],queue:[],flush:function(d,g){var b=ze(d,g),M=l.current>0&&!p.queue.length&&!Object.keys(b).some(function(w){return!d.springs[w]});return M?rn(d,g):new Promise(function(w){Ne(d,b),p.queue.push(function(){w(rn(d,g))}),h()})}}},[]),v=(0,le.useRef)(ge()(p.ctrls)),R=[],I=(0,o.zH)(u)||0;(0,le.useMemo)(function(){(0,o.S6)(v.current.slice(u,I),function(_){$(_,i),_.stop(!0)}),v.current.length=u,O(I,u)},[u]),(0,le.useMemo)(function(){O(0,Math.min(I,u))},n);function O(_,d){for(var g=_;g<d;g++){var b=v.current[g]||(v.current[g]=new jn(null,p.flush)),M=a?a(g,b):r[g];M&&(R[g]=nt(M))}}var T=v.current.map(function(_,d){return ze(_,R[d])}),t=(0,le.useContext)(vn),e=(0,o.zH)(t),f=t!==e&&m(t);(0,o.LI)(function(){l.current++,p.ctrls=v.current;var _=p.queue;_.length&&(p.queue=[],(0,o.S6)(_,function(d){return d()})),(0,o.S6)(v.current,function(d,g){i==null||i.add(d),f&&d.start({default:t});var b=R[g];b&&(Q(d,b.ref),d.ref?d.queue.push(b):d.start(b))})}),(0,o.tf)(function(){return function(){(0,o.S6)(p.ctrls,function(_){return _.stop(!0)})}});var c=T.map(function(_){return B({},_)});return i?[c,i]:c}function Qe(u,r){var n=o.is.fun(u),s=Ln(1,n?u:[u],n?r||[]:r),a=Pe()(s,2),i=Pe()(a[0],1),l=i[0],h=a[1];return n||arguments.length==2?[l,h]:l}var it=function(){return Dn()},ut=function(){return useState(it)[0]},bt=function(r,n){var s=useConstant(function(){return new Cn(r,n)});return useOnce(function(){return function(){s.stop()}}),s};function En(u,r,n){var s=is.fun(r)&&r;s&&!n&&(n=[]);var a=!0,i=void 0,l=Ln(u,function(v,R){var I=s?s(v,R):r;return i=I.ref,a=a&&I.reverse,I},n||[{}]);if(useIsomorphicLayoutEffect(function(){each(l[1].current,function(v,R){var I=l[1].current[R+(a?1:-1)];if(Q(v,i),v.ref){I&&v.update({to:I.springs});return}I?v.start({to:I.springs}):v.start()})},n),s||arguments.length==3){var h,p=(h=i)!=null?h:l[1];return p._getProps=function(v,R,I){var O=is.fun(v)?v(I,R):v;if(O){var T=p.current[I+(O.reverse?1:-1)];return T&&(O.to=T.springs),O}},l}return l[0]}var _e;(function(u){u.MOUNT="mount",u.ENTER="enter",u.UPDATE="update",u.LEAVE="leave"})(_e||(_e={}));function st(u,r,n){var s=arguments,a=is.fun(r)&&r,i=a?a():r,l=i.reset,h=i.sort,p=i.trail,v=p===void 0?0:p,R=i.expires,I=R===void 0?!0:R,O=i.exitBeforeEnter,T=O===void 0?!1:O,t=i.onDestroyed,e=i.ref,f=i.config,c=useMemo(function(){return a||s.length==3?Dn():void 0},[]),_=toArray(u),d=[],g=useRef(null),b=l?null:g.current;useIsomorphicLayoutEffect(function(){g.current=d}),useOnce(function(){return each(d,function(C){c==null||c.add(C.ctrl),C.ctrl.ref=c}),function(){each(g.current,function(C){C.expired&&clearTimeout(C.expirationId),$(C.ctrl,c),C.ctrl.stop(!0)})}});var M=ot(_,a?a():r,b),w=l&&g.current||[];useIsomorphicLayoutEffect(function(){return each(w,function(C){var G=C.ctrl,q=C.item,xe=C.key;$(G,c),ee(t,q,xe)})});var F=[];if(b&&each(b,function(C,G){C.expired?(clearTimeout(C.expirationId),w.push(C)):(G=F[G]=M.indexOf(C.key),~G&&(d[G]=C))}),each(_,function(C,G){d[G]||(d[G]={key:M[G],item:C,phase:_e.MOUNT,ctrl:new jn},d[G].ctrl.item=C)}),F.length){var W=-1,Y=a?a():r,z=Y.leave;each(F,function(C,G){var q=b[G];~C?(W=d.indexOf(q),d[W]=B({},q,{item:_[C]})):z&&d.splice(++W,0,q)})}is.fun(h)&&d.sort(function(C,G){return h(C.item,G.item)});var De=-v,Z=useForceUpdate(),Ce=j(r),ue=new Map,se=useRef(new Map),Re=useRef(!1);each(d,function(C,G){var q=C.key,xe=C.phase,ye=a?a():r,Ee,pe,xt=ee(ye.delay||0,q);if(xe==_e.MOUNT)Ee=ye.enter,pe=_e.ENTER;else{var St=M.indexOf(q)<0;if(xe!=_e.LEAVE)if(St)Ee=ye.leave,pe=_e.LEAVE;else if(Ee=ye.update)pe=_e.UPDATE;else return;else if(!St)Ee=ye.enter,pe=_e.ENTER;else return}if(Ee=ee(Ee,C.item,G),Ee=is.obj(Ee)?E(Ee):{to:Ee},!Ee.config){var Mt=f||Ce.config;Ee.config=ee(Mt,C.item,G,pe)}De+=v;var bn=B({},Ce,{delay:xt+De,ref:e,immediate:ye.immediate,reset:!1},Ee);if(pe==_e.ENTER&&is.und(bn.from)){var vt=a?a():r,Ct=is.und(vt.initial)||b?vt.from:vt.initial;bn.from=ee(Ct,C.item,G)}var kt=bn.onResolve;bn.onResolve=function(wt){ee(kt,wt);var mt=g.current,un=mt.find(function(Bn){return Bn.key===q});if(un&&!(wt.cancelled&&un.phase!=_e.UPDATE)&&un.ctrl.idle){var It=mt.every(function(Bn){return Bn.ctrl.idle});if(un.phase==_e.LEAVE){var pt=ee(I,un.item);if(pt!==!1){var gt=pt===!0?0:pt;if(un.expired=!0,!It&&gt>0){gt<=2147483647&&(un.expirationId=setTimeout(Z,gt));return}}}It&&mt.some(function(Bn){return Bn.expired})&&(se.current.delete(un),T&&(Re.current=!0),Z())}};var At=ze(C.ctrl,bn);pe===_e.LEAVE&&T?se.current.set(C,{phase:pe,springs:At,payload:bn}):ue.set(C,{phase:pe,springs:At,payload:bn})});var ne=useContext(vn),mn=usePrev(ne),pn=ne!==mn&&m(ne);useIsomorphicLayoutEffect(function(){pn&&each(d,function(C){C.ctrl.start({default:ne})})},[ne]),each(ue,function(C,G){if(se.current.size){var q=d.findIndex(function(xe){return xe.key===G.key});d.splice(q,1)}}),useIsomorphicLayoutEffect(function(){each(se.current.size?se.current:ue,function(C,G){var q=C.phase,xe=C.payload,ye=G.ctrl;G.phase=q,c==null||c.add(ye),pn&&q==_e.ENTER&&ye.start({default:ne}),xe&&(Q(ye,xe.ref),(ye.ref||c)&&!Re.current?ye.update(xe):(ye.start(xe),Re.current&&(Re.current=!1)))})},l?void 0:n);var gn=function(G){return React.createElement(React.Fragment,null,d.map(function(q,xe){var ye=ue.get(q)||q.ctrl,Ee=ye.springs,pe=G(B({},Ee),q.item,q,xe);return pe&&pe.type?React.createElement(pe.type,B({},pe.props,{key:is.str(q.key)||is.num(q.key)?q.key:q.ctrl.id,ref:pe.ref})):pe}))};return c?[gn,c]:gn}var Un=1;function ot(u,r,n){var s=r.key,a=r.keys,i=a===void 0?s:a;if(i===null){var l=new Set;return u.map(function(h){var p=n&&n.find(function(v){return v.item===h&&v.phase!==_e.LEAVE&&!l.has(v)});return p?(l.add(p),p.key):Un++})}return is.und(i)?u:is.fun(i)?u.map(i):toArray(i)}var ft=null,Xn=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=r.container,s=He(r,ft),a=Qe(function(){return B({scrollX:0,scrollY:0,scrollXProgress:0,scrollYProgress:0},s)},[]),i=_slicedToArray(a,2),l=i[0],h=i[1];return useIsomorphicLayoutEffect(function(){var p=onScroll(function(v){var R=v.x,I=v.y;h.start({scrollX:R.current,scrollXProgress:R.progress,scrollY:I.current,scrollYProgress:I.progress})},{container:(n==null?void 0:n.current)||void 0});return function(){each(Object.values(l),function(v){return v.stop()}),p()}},[]),l},Yn=null,yt=function(r){var n=r.container,s=He(r,Yn),a=Qe(function(){return B({width:0,height:0},s)},[]),i=_slicedToArray(a,2),l=i[0],h=i[1];return useIsomorphicLayoutEffect(function(){var p=onResize(function(v){var R=v.width,I=v.height;h.start({width:R,height:I,immediate:l.width.get()===0||l.height.get()===0})},{container:(n==null?void 0:n.current)||void 0});return function(){each(Object.values(l),function(v){return v.stop()}),p()}},[]),l},lt=null,ct=null,dt={any:0,all:1};function Et(u,r){var n=useState(!1),s=_slicedToArray(n,2),a=s[0],i=s[1],l=useRef(),h=is.fun(u)&&u,p=h?h():{},v=p.to,R=v===void 0?{}:v,I=p.from,O=I===void 0?{}:I,T=He(p,lt),t=h?r:u,e=Qe(function(){return B({from:O},T)},[]),f=_slicedToArray(e,2),c=f[0],_=f[1];return useIsomorphicLayoutEffect(function(){var d=l.current,g=t??{},b=g.root,M=g.once,w=g.amount,F=w===void 0?"any":w,W=He(g,ct);if(!(!d||M&&a||typeof IntersectionObserver>"u")){var Y=new WeakMap,z=function(){R&&_.start(R),i(!0);var ue=function(){O&&_.start(O),i(!1)};return M?void 0:ue},De=function(ue){ue.forEach(function(se){var Re=Y.get(se.target);if(se.isIntersecting!==!!Re)if(se.isIntersecting){var ne=z();is.fun(ne)?Y.set(se.target,ne):Z.unobserve(se.target)}else Re&&(Re(),Y.delete(se.target))})},Z=new IntersectionObserver(De,B({root:b&&b.current||void 0,threshold:typeof F=="number"||Array.isArray(F)?F:dt[F]},W));return Z.observe(d),function(){return Z.unobserve(d)}}},[t]),h?[l,c]:[l,a]}var an=null;function Vn(u){var r=u.children,n=He(u,an);return r(Qe(n))}var _t=null;function Pt(u){var r=u.items,n=u.children,s=He(u,_t),a=En(r.length,s);return r.map(function(i,l){var h=n(i,l);return is.fun(h)?h(a[l]):h})}var Pn=null;function On(u){var r=u.items,n=u.children,s=He(u,Pn);return st(r,s)(n)}var Wn=function(u){te()(n,u);var r=re()(n);function n(s,a){var i;fe()(this,n),i=r.call(this),i.key=void 0,i.idle=!0,i.calc=void 0,i._active=new Set,i.source=s,i.calc=o.mD.apply(void 0,ge()(a));var l=i._get(),h=(0,V.sb)(l);return(0,V.f3)(Le()(i),h.create(l)),i}return ve()(n,[{key:"advance",value:function(a){var i=this._get(),l=this.get();(0,o.Xy)(i,l)||((0,V.ys)(this).setValue(i),this._onChange(i,this.idle)),!this.idle&&Zn(this._active)&&Jn(this)}},{key:"_get",value:function(){var a=o.is.arr(this.source)?this.source.map(o.je):(0,o.qo)((0,o.je)(this.source));return this.calc.apply(this,ge()(a))}},{key:"_start",value:function(){var a=this;this.idle&&!Zn(this._active)&&(this.idle=!1,(0,o.S6)((0,V.He)(this),function(i){i.done=!1}),o.OH.skipAnimation?(o.Wn.batchedUpdates(function(){return a.advance()}),Jn(this)):o.fT.start(this))}},{key:"_attach",value:function(){var a=this,i=1;(0,o.S6)((0,o.qo)(this.source),function(l){(0,o.j$)(l)&&(0,o.UI)(l,a),An(l)&&(l.idle||a._active.add(l),i=Math.max(i,l.priority+1))}),this.priority=i,this._start()}},{key:"_detach",value:function(){var a=this;(0,o.S6)((0,o.qo)(this.source),function(i){(0,o.j$)(i)&&(0,o.iL)(i,a)}),this._active.clear(),Jn(this)}},{key:"eventObserved",value:function(a){a.type=="change"?a.idle?this.advance():(this._active.add(a.parent),this._start()):a.type=="idle"?this._active.delete(a.parent):a.type=="priority"&&(this.priority=(0,o.qo)(this.source).reduce(function(i,l){return Math.max(i,(An(l)?l.priority:0)+1)},0))}}]),n}(wn);function ht(u){return u.idle!==!1}function Zn(u){return!u.size||Array.from(u).every(ht)}function Jn(u){u.idle||(u.idle=!0,(0,o.S6)((0,V.He)(u),function(r){r.done=!0}),(0,o.k0)(u,{type:"idle",parent:u}))}var Rt=function(r){for(var n=arguments.length,s=new Array(n>1?n-1:0),a=1;a<n;a++)s[a-1]=arguments[a];return new Wn(r,s)},Ot=function(r){for(var n=arguments.length,s=new Array(n>1?n-1:0),a=1;a<n;a++)s[a-1]=arguments[a];return deprecateInterpolate(),new Wn(r,s)};o.OH.assign({createStringInterpolator:o.qS,to:function(r,n){return new Wn(r,n)}});var Sn=o.fT.advance},65736:function(qn,sn,S){S.d(sn,{B0:function(){return vn},OH:function(){return ce},UI:function(){return at},k0:function(){return rt},O9:function(){return en},mD:function(){return tn},qS:function(){return ft},dE:function(){return ee},ZR:function(){return dt},LW:function(){return lt},S6:function(){return Ge},rU:function(){return qe},Z5:function(){return Hn},yl:function(){return D},bl:function(){return P},fT:function(){return me},Ll:function(){return Gn},je:function(){return Tn},j$:function(){return Qn},is:function(){return ie},Df:function(){return Et},Xy:function(){return Je},ZT:function(){return B},Wn:function(){return L},iL:function(){return Dn},qo:function(){return j},NW:function(){return h},LI:function(){return i},Pr:function(){return p},tf:function(){return R},zH:function(){return O}});var on=S(5574),Le=S.n(on),fn=S(72004),ge=S.n(fn),ln=S(12444),Pe=S.n(ln),cn=S(19632),ke=S.n(cn),Ue=ae(),L=function(e){return he(e,Ue)},je=ae();L.write=function(t){return he(t,je)};var te=ae();L.onStart=function(t){return he(t,te)};var N=ae();L.onFrame=function(t){return he(t,N)};var re=ae();L.onFinish=function(t){return he(t,re)};var x=[];L.setTimeout=function(t,e){var f=L.now()+e,c=function d(){var g=x.findIndex(function(b){return b.cancel==d});~g&&x.splice(g,1),oe-=~g?1:0},_={time:f,handler:t,cancel:c};return x.splice(Oe(f),0,_),oe+=1,ve(),_};var Oe=function(e){return~(~x.findIndex(function(f){return f.time>e})||~x.length)};L.cancel=function(t){te.delete(t),N.delete(t),re.delete(t),Ue.delete(t),je.delete(t)},L.sync=function(t){we=!0,L.batchedUpdates(t),we=!1},L.throttle=function(t){var e;function f(){try{t.apply(void 0,ke()(e))}finally{e=null}}function c(){for(var _=arguments.length,d=new Array(_),g=0;g<_;g++)d[g]=arguments[g];e=d,L.onStart(f)}return c.handler=t,c.cancel=function(){te.delete(f),e=null},c};var Se=typeof window<"u"?window.requestAnimationFrame:function(){};L.use=function(t){return Se=t},L.now=typeof performance<"u"?function(){return performance.now()}:Date.now,L.batchedUpdates=function(t){return t()},L.catch=console.error,L.frameLoop="always",L.advance=function(){L.frameLoop!=="demand"?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):Te()};var J=-1,oe=0,we=!1;function he(t,e){we?(e.delete(t),t(0)):(e.add(t),ve())}function ve(){J<0&&(J=0,L.frameLoop!=="demand"&&Se(fe))}function Ve(){J=-1}function fe(){~J&&(Se(fe),L.batchedUpdates(Te))}function Te(){var t=J;J=L.now();var e=Oe(J);if(e&&(o(x.splice(0,e),function(f){return f.handler()}),oe-=e),!oe){Ve();return}te.flush(),Ue.flush(t?Math.min(64,J-t):16.667),N.flush(),je.flush(),re.flush()}function ae(){var t=new Set,e=t;return{add:function(c){oe+=e==t&&!t.has(c)?1:0,t.add(c)},delete:function(c){return oe-=e==t&&t.has(c)?1:0,t.delete(c)},flush:function(c){e.size&&(t=new Set,oe-=e.size,o(e,function(_){return _(c)&&t.add(_)}),oe+=t.size,e=t)}}}function o(t,e){t.forEach(function(f){try{e(f)}catch(c){L.catch(c)}})}var le={count:function(){return oe},isRunning:function(){return J>=0},clear:function(){J=-1,x=[],te=ae(),Ue=ae(),N=ae(),je=ae(),re=ae(),oe=0}},V=S(67294);function B(){}var ee=function(e,f,c){return Object.defineProperty(e,f,{value:c,writable:!0,configurable:!0})},ie={arr:Array.isArray,obj:function(e){return!!e&&e.constructor.name==="Object"},fun:function(e){return typeof e=="function"},str:function(e){return typeof e=="string"},num:function(e){return typeof e=="number"},und:function(e){return e===void 0}};function Je(t,e){if(ie.arr(t)){if(!ie.arr(e)||t.length!==e.length)return!1;for(var f=0;f<t.length;f++)if(t[f]!==e[f])return!1;return!0}return t===e}var Ge=function(e,f){return e.forEach(f)};function qe(t,e,f){if(ie.arr(t)){for(var c=0;c<t.length;c++)e.call(f,t[c],"".concat(c));return}for(var _ in t)t.hasOwnProperty(_)&&e.call(f,t[_],_)}var j=function(e){return ie.und(e)?[]:ie.arr(e)?e:[e]};function D(t,e){if(t.size){var f=Array.from(t);t.clear(),Ge(f,e)}}var P=function(e){for(var f=arguments.length,c=new Array(f>1?f-1:0),_=1;_<f;_++)c[_-1]=arguments[_];return D(e,function(d){return d.apply(void 0,c)})},y=function(){return typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent)},E,A,m=null,k=!1,$=B,Q=function(e){e.to&&(A=e.to),e.now&&(L.now=e.now),e.colors!==void 0&&(m=e.colors),e.skipAnimation!=null&&(k=e.skipAnimation),e.createStringInterpolator&&(E=e.createStringInterpolator),e.requestAnimationFrame&&L.use(e.requestAnimationFrame),e.batchedUpdates&&(L.batchedUpdates=e.batchedUpdates),e.willAdvance&&($=e.willAdvance),e.frameLoop&&(L.frameLoop=e.frameLoop)},ce=Object.freeze({__proto__:null,get createStringInterpolator(){return E},get to(){return A},get colors(){return m},get skipAnimation(){return k},get willAdvance(){return $},assign:Q}),X=new Set,K=[],H=[],U=0,me={get idle(){return!X.size&&!K.length},start:function(e){U>e.priority?(X.add(e),L.onStart(Xe)):(Ie(e),L(de))},advance:de,sort:function(e){if(U)L.onFrame(function(){return me.sort(e)});else{var f=K.indexOf(e);~f&&(K.splice(f,1),We(e))}},clear:function(){K=[],X.clear()}};function Xe(){X.forEach(Ie),X.clear(),L(de)}function Ie(t){K.includes(t)||We(t)}function We(t){K.splice(Be(K,function(e){return e.priority>t.priority}),0,t)}function de(t){for(var e=H,f=0;f<K.length;f++){var c=K[f];U=c.priority,c.idle||($(c),c.advance(t),c.idle||e.push(c))}return U=0,H=K,H.length=0,K=e,K.length>0}function Be(t,e){var f=t.findIndex(e);return f<0?t.length:f}var be=function(e,f,c){return Math.min(Math.max(c,e),f)},en={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Ae="[-+]?\\d*\\.?\\d+",Fe=Ae+"%";function dn(){for(var t=arguments.length,e=new Array(t),f=0;f<t;f++)e[f]=arguments[f];return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var Fn=new RegExp("rgb"+dn(Ae,Ae,Ae)),An=new RegExp("rgba"+dn(Ae,Ae,Ae,Ae)),et=new RegExp("hsl"+dn(Ae,Fe,Fe)),wn=new RegExp("hsla"+dn(Ae,Fe,Fe,Ae)),Ye=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Kn=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,In=/^#([0-9a-fA-F]{6})$/,Rn=/^#([0-9a-fA-F]{8})$/;function xn(t){var e;return typeof t=="number"?t>>>0===t&&t>=0&&t<=4294967295?t:null:(e=In.exec(t))?parseInt(e[1]+"ff",16)>>>0:m&&m[t]!==void 0?m[t]:(e=Fn.exec(t))?(Ze(e[1])<<24|Ze(e[2])<<16|Ze(e[3])<<8|255)>>>0:(e=An.exec(t))?(Ze(e[1])<<24|Ze(e[2])<<16|Ze(e[3])<<8|Cn(e[4]))>>>0:(e=Ye.exec(t))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+"ff",16)>>>0:(e=Rn.exec(t))?parseInt(e[1],16)>>>0:(e=Kn.exec(t))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+e[4]+e[4],16)>>>0:(e=et.exec(t))?(nn(Mn(e[1]),Ke(e[2]),Ke(e[3]))|255)>>>0:(e=wn.exec(t))?(nn(Mn(e[1]),Ke(e[2]),Ke(e[3]))|Cn(e[4]))>>>0:null}function Me(t,e,f){return f<0&&(f+=1),f>1&&(f-=1),f<1/6?t+(e-t)*6*f:f<1/2?e:f<2/3?t+(e-t)*(2/3-f)*6:t}function nn(t,e,f){var c=f<.5?f*(1+e):f+e-f*e,_=2*f-c,d=Me(_,c,t+1/3),g=Me(_,c,t),b=Me(_,c,t-1/3);return Math.round(d*255)<<24|Math.round(g*255)<<16|Math.round(b*255)<<8}function Ze(t){var e=parseInt(t,10);return e<0?0:e>255?255:e}function Mn(t){var e=parseFloat(t);return(e%360+360)%360/360}function Cn(t){var e=parseFloat(t);return e<0?0:e>1?255:Math.round(e*255)}function Ke(t){var e=parseFloat(t);return e<0?0:e>100?1:e/100}function kn(t){var e=xn(t);if(e===null)return t;e=e||0;var f=(e&4278190080)>>>24,c=(e&16711680)>>>16,_=(e&65280)>>>8,d=(e&255)/255;return"rgba(".concat(f,", ").concat(c,", ").concat(_,", ").concat(d,")")}var tn=function t(e,f,c){if(ie.fun(e))return e;if(ie.arr(e))return t({range:e,output:f,extrapolate:c});if(ie.str(e.output[0]))return E(e);var _=e,d=_.output,g=_.range||[0,1],b=_.extrapolateLeft||_.extrapolate||"extend",M=_.extrapolateRight||_.extrapolate||"extend",w=_.easing||function(F){return F};return function(F){var W=$n(F,g);return nt(F,g[W],g[W+1],d[W],d[W+1],w,b,M,_.map)}};function nt(t,e,f,c,_,d,g,b,M){var w=M?M(t):t;if(w<e){if(g==="identity")return w;g==="clamp"&&(w=e)}if(w>f){if(b==="identity")return w;b==="clamp"&&(w=f)}return c===_?c:e===f?t<=e?c:_:(e===-1/0?w=-w:f===1/0?w=w-e:w=(w-e)/(f-e),w=d(w),c===-1/0?w=-w:_===1/0?w=w+c:w=w*(_-c)+c,w)}function $n(t,e){for(var f=1;f<e.length-1&&!(e[f]>=t);++f);return f-1}var tt=function(e){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"end";return function(c){c=f==="end"?Math.min(c,.999):Math.max(c,.001);var _=c*e,d=f==="end"?Math.floor(_):Math.ceil(_);return be(0,1,d/e)}},_n=1.70158,$e=_n*1.525,zn=_n+1,Nn=2*Math.PI/3,jn=2*Math.PI/4.5,rn=function(e){var f=7.5625,c=2.75;return e<1/c?f*e*e:e<2/c?f*(e-=1.5/c)*e+.75:e<2.5/c?f*(e-=2.25/c)*e+.9375:f*(e-=2.625/c)*e+.984375},Hn={linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return 1-(1-e)*(1-e)},easeInOutQuad:function(e){return e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return 1-Math.pow(1-e,3)},easeInOutCubic:function(e){return e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return 1-Math.pow(1-e,4)},easeInOutQuart:function(e){return e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return 1-Math.pow(1-e,5)},easeInOutQuint:function(e){return e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2},easeInSine:function(e){return 1-Math.cos(e*Math.PI/2)},easeOutSine:function(e){return Math.sin(e*Math.PI/2)},easeInOutSine:function(e){return-(Math.cos(Math.PI*e)-1)/2},easeInExpo:function(e){return e===0?0:Math.pow(2,10*e-10)},easeOutExpo:function(e){return e===1?1:1-Math.pow(2,-10*e)},easeInOutExpo:function(e){return e===0?0:e===1?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2},easeInCirc:function(e){return 1-Math.sqrt(1-Math.pow(e,2))},easeOutCirc:function(e){return Math.sqrt(1-Math.pow(e-1,2))},easeInOutCirc:function(e){return e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2},easeInBack:function(e){return zn*e*e*e-_n*e*e},easeOutBack:function(e){return 1+zn*Math.pow(e-1,3)+_n*Math.pow(e-1,2)},easeInOutBack:function(e){return e<.5?Math.pow(2*e,2)*(($e+1)*2*e-$e)/2:(Math.pow(2*e-2,2)*(($e+1)*(e*2-2)+$e)+2)/2},easeInElastic:function(e){return e===0?0:e===1?1:-Math.pow(2,10*e-10)*Math.sin((e*10-10.75)*Nn)},easeOutElastic:function(e){return e===0?0:e===1?1:Math.pow(2,-10*e)*Math.sin((e*10-.75)*Nn)+1},easeInOutElastic:function(e){return e===0?0:e===1?1:e<.5?-(Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*jn))/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*jn)/2+1},easeInBounce:function(e){return 1-rn(1-e)},easeOutBounce:rn,easeInOutBounce:function(e){return e<.5?(1-rn(1-2*e))/2:(1+rn(2*e-1))/2},steps:tt};function hn(){return hn=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var f=arguments[e];for(var c in f)Object.prototype.hasOwnProperty.call(f,c)&&(t[c]=f[c])}return t},hn.apply(this,arguments)}var ze=Symbol.for("FluidValue.get"),Ne=Symbol.for("FluidValue.observers"),Qn=function(e){return!!(e&&e[ze])},Tn=function(e){return e&&e[ze]?e[ze]():e},Gn=function(e){return e[Ne]||null};function He(t,e){t.eventObserved?t.eventObserved(e):t(e)}function rt(t,e){var f=t[Ne];f&&f.forEach(function(c){He(c,e)})}var vn=ge()(function t(e){if(Pe()(this,t),this[ze]=void 0,this[Ne]=void 0,!e&&!(e=this.get))throw Error("Unknown getter");yn(this,e)}),yn=function(e,f){return Ln(e,ze,f)};function at(t,e){if(t[ze]){var f=t[Ne];f||Ln(t,Ne,f=new Set),f.has(e)||(f.add(e),t.observerAdded&&t.observerAdded(f.size,e))}return e}function Dn(t,e){var f=t[Ne];if(f&&f.has(e)){var c=f.size-1;c?f.delete(e):t[Ne]=null,t.observerRemoved&&t.observerRemoved(c,e)}}var Ln=function(e,f,c){return Object.defineProperty(e,f,{value:c,writable:!0,configurable:!0})},Qe=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,it=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,ut=new RegExp("(".concat(Qe.source,")(%|[a-z]+)"),"i"),bt=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,En=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,_e=function t(e){var f=st(e),c=Le()(f,2),_=c[0],d=c[1];if(!_||y())return e;var g=window.getComputedStyle(document.documentElement).getPropertyValue(_);if(g)return g.trim();if(d&&d.startsWith("--")){var b=window.getComputedStyle(document.documentElement).getPropertyValue(d);return b||e}else{if(d&&En.test(d))return t(d);if(d)return d}return e},st=function(e){var f=En.exec(e);if(!f)return[,];var c=Le()(f,3),_=c[1],d=c[2];return[_,d]},Un,ot=function(e,f,c,_,d){return"rgba(".concat(Math.round(f),", ").concat(Math.round(c),", ").concat(Math.round(_),", ").concat(d,")")},ft=function(e){Un||(Un=m?new RegExp("(".concat(Object.keys(m).join("|"),")(?!\\w)"),"g"):/^\b$/);var f=e.output.map(function(g){return Tn(g).replace(En,_e).replace(it,kn).replace(Un,kn)}),c=f.map(function(g){return g.match(Qe).map(Number)}),_=c[0].map(function(g,b){return c.map(function(M){if(!(b in M))throw Error('The arity of each "output" value must be equal');return M[b]})}),d=_.map(function(g){return tn(hn({},e,{output:g}))});return function(g){var b,M=!ut.test(f[0])&&((b=f.find(function(F){return ut.test(F)}))==null?void 0:b.replace(Qe,"")),w=0;return f[0].replace(Qe,function(){return"".concat(d[w++](g)).concat(M||"")}).replace(bt,ot)}},Xn="react-spring: ",Yn=function(e){var f=e,c=!1;if(typeof f!="function")throw new TypeError("".concat(Xn,"once requires a function parameter"));return function(){c||(f.apply(void 0,arguments),c=!0)}},yt=Yn(console.warn);function lt(){yt("".concat(Xn,'The "interpolate" function is deprecated in v9 (use "to" instead)'))}var ct=Yn(console.warn);function dt(){ct("".concat(Xn,'Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions'))}function Et(t){return ie.str(t)&&(t[0]=="#"||/\d/.test(t)||!y()&&En.test(t)||t in(m||{}))}var an,Vn=new WeakMap,_t=function(e){return e.forEach(function(f){var c=f.target,_=f.contentRect,d;return(d=Vn.get(c))==null?void 0:d.forEach(function(g){return g(_)})})};function Pt(t,e){an||typeof ResizeObserver<"u"&&(an=new ResizeObserver(_t));var f=Vn.get(e);return f||(f=new Set,Vn.set(e,f)),f.add(t),an&&an.observe(e),function(){var c=Vn.get(e);c&&(c.delete(t),!c.size&&an&&an.unobserve(e))}}var Pn=new Set,On,Wn=function(){var e=function(){Pn.forEach(function(c){return c({width:window.innerWidth,height:window.innerHeight})})};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}},ht=function(e){return Pn.add(e),On||(On=Wn()),function(){Pn.delete(e),!Pn.size&&On&&(On(),On=void 0)}},Zn=function(e){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=f.container,_=c===void 0?document.documentElement:c;return _===document.documentElement?ht(e):Pt(e,_)},Jn=function(e,f,c){return f-e===0?1:(c-e)/(f-e)},Rt={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}},Ot=null,Sn=new WeakMap,u=new WeakMap,r=new WeakMap,n=function(e){return e===document.documentElement?window:e},s=function(e){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=f.container,_=c===void 0?document.documentElement:c,d=r.get(_);d||(d=new Set,r.set(_,d));var g=new Ot(e,_);if(d.add(g),!Sn.has(_)){var b=function(){var W;return(W=d)==null||W.forEach(function(Y){return Y.advance()}),!0};Sn.set(_,b);var M=n(_);window.addEventListener("resize",b,{passive:!0}),_!==document.documentElement&&u.set(_,Zn(b,{container:_})),M.addEventListener("scroll",b,{passive:!0})}var w=Sn.get(_);return raf(w),function(){raf.cancel(w);var F=r.get(_);if(F&&(F.delete(g),!F.size)){var W=Sn.get(_);if(Sn.delete(_),W){var Y;n(_).removeEventListener("scroll",W),window.removeEventListener("resize",W),(Y=u.get(_))==null||Y()}}}};function a(t){var e=useRef(null);return e.current===null&&(e.current=t()),e.current}var i=y()?V.useEffect:V.useLayoutEffect,l=function(){var e=(0,V.useRef)(!1);return i(function(){return e.current=!0,function(){e.current=!1}},[]),e};function h(){var t=(0,V.useState)()[1],e=l();return function(){e.current&&t(Math.random())}}function p(t,e){var f=(0,V.useState)(function(){return{inputs:e,result:t()}}),c=Le()(f,1),_=c[0],d=(0,V.useRef)(),g=d.current,b=g;if(b){var M=!!(e&&b.inputs&&v(e,b.inputs));M||(b={inputs:e,result:t()})}else b=_;return(0,V.useEffect)(function(){d.current=b,g==_&&(_.inputs=_.result=void 0)},[b]),b.result}function v(t,e){if(t.length!==e.length)return!1;for(var f=0;f<t.length;f++)if(t[f]!==e[f])return!1;return!0}var R=function(e){return(0,V.useEffect)(e,I)},I=[];function O(t){var e=(0,V.useRef)();return(0,V.useEffect)(function(){e.current=t}),e.current}var T=function(){var e=useState(null),f=_slicedToArray(e,2),c=f[0],_=f[1];return i(function(){var d=window.matchMedia("(prefers-reduced-motion)"),g=function(M){_(M.matches),Q({skipAnimation:M.matches})};return g(d),d.addEventListener("change",g),function(){d.removeEventListener("change",g)}},[]),c}},36740:function(qn,sn,S){S.d(sn,{animated:function(){return qe},useSpring:function(){return je.useSpring}});var on=S(5574),Le=S.n(on),fn=S(72004),ge=S.n(fn),ln=S(12444),Pe=S.n(ln),cn=S(31996),ke=S.n(cn),Ue=S(26037),L=S.n(Ue),je=S(99799),te=S(73935),N=S(65736),re=S(95309);function x(j,D){if(j==null)return{};var P={},y=Object.keys(j),E,A;for(A=0;A<y.length;A++)E=y[A],!(D.indexOf(E)>=0)&&(P[E]=j[E]);return P}var Oe=["style","children","scrollTop","scrollLeft","viewBox"],Se=/^--/;function J(j,D){return D==null||typeof D=="boolean"||D===""?"":typeof D=="number"&&D!==0&&!Se.test(j)&&!(he.hasOwnProperty(j)&&he[j])?D+"px":(""+D).trim()}var oe={};function we(j,D){if(!j.nodeType||!j.setAttribute)return!1;var P=j.nodeName==="filter"||j.parentNode&&j.parentNode.nodeName==="filter",y=D,E=y.style,A=y.children,m=y.scrollTop,k=y.scrollLeft,$=y.viewBox,Q=x(y,Oe),ce=Object.values(Q),X=Object.keys(Q).map(function(U){return P||j.hasAttribute(U)?U:oe[U]||(oe[U]=U.replace(/([A-Z])/g,function(me){return"-"+me.toLowerCase()}))});A!==void 0&&(j.textContent=A);for(var K in E)if(E.hasOwnProperty(K)){var H=J(K,E[K]);Se.test(K)?j.style.setProperty(K,H):j.style[K]=H}X.forEach(function(U,me){j.setAttribute(U,ce[me])}),m!==void 0&&(j.scrollTop=m),k!==void 0&&(j.scrollLeft=k),$!==void 0&&j.setAttribute("viewBox",$)}var he={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ve=function(D,P){return D+P.charAt(0).toUpperCase()+P.substring(1)},Ve=["Webkit","Ms","Moz","O"];he=Object.keys(he).reduce(function(j,D){return Ve.forEach(function(P){return j[ve(P,D)]=j[D]}),j},he);var fe=["x","y","z"],Te=/^(matrix|translate|scale|rotate|skew)/,ae=/^(translate)/,o=/^(rotate|skew)/,le=function(D,P){return N.is.num(D)&&D!==0?D+P:D},V=function j(D,P){return N.is.arr(D)?D.every(function(y){return j(y,P)}):N.is.num(D)?D===P:parseFloat(D)===P},B=function(j){ke()(P,j);var D=L()(P);function P(y){Pe()(this,P);var E=y.x,A=y.y,m=y.z,k=x(y,fe),$=[],Q=[];return(E||A||m)&&($.push([E||0,A||0,m||0]),Q.push(function(ce){return["translate3d(".concat(ce.map(function(X){return le(X,"px")}).join(","),")"),V(ce,0)]})),(0,N.rU)(k,function(ce,X){if(X==="transform")$.push([ce||""]),Q.push(function(H){return[H,H===""]});else if(Te.test(X)){if(delete k[X],N.is.und(ce))return;var K=ae.test(X)?"px":o.test(X)?"deg":"";$.push((0,N.qo)(ce)),Q.push(X==="rotate3d"?function(H){var U=Le()(H,4),me=U[0],Xe=U[1],Ie=U[2],We=U[3];return["rotate3d(".concat(me,",").concat(Xe,",").concat(Ie,",").concat(le(We,K),")"),V(We,0)]}:function(H){return["".concat(X,"(").concat(H.map(function(U){return le(U,K)}).join(","),")"),V(H,X.startsWith("scale")?1:0)]})}}),$.length&&(k.transform=new ee($,Q)),D.call(this,k)}return ge()(P)}(re.rS),ee=function(j){ke()(P,j);var D=L()(P);function P(y,E){var A;return Pe()(this,P),A=D.call(this),A._value=null,A.inputs=y,A.transforms=E,A}return ge()(P,[{key:"get",value:function(){return this._value||(this._value=this._get())}},{key:"_get",value:function(){var E=this,A="",m=!0;return(0,N.S6)(this.inputs,function(k,$){var Q=(0,N.je)(k[0]),ce=E.transforms[$](N.is.arr(Q)?Q:k.map(N.je)),X=Le()(ce,2),K=X[0],H=X[1];A+=" "+K,m=m&&H}),m?"none":A}},{key:"observerAdded",value:function(E){var A=this;E==1&&(0,N.S6)(this.inputs,function(m){return(0,N.S6)(m,function(k){return(0,N.j$)(k)&&(0,N.UI)(k,A)})})}},{key:"observerRemoved",value:function(E){var A=this;E==0&&(0,N.S6)(this.inputs,function(m){return(0,N.S6)(m,function(k){return(0,N.j$)(k)&&(0,N.iL)(k,A)})})}},{key:"eventObserved",value:function(E){E.type=="change"&&(this._value=null),(0,N.k0)(this,E)}}]),P}(N.B0),ie=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Je=["scrollTop","scrollLeft"];je.Globals.assign({batchedUpdates:te.unstable_batchedUpdates,createStringInterpolator:N.qS,colors:N.O9});var Ge=(0,re.Ld)(ie,{applyAnimatedValues:we,createAnimatedStyle:function(D){return new B(D)},getComponentProps:function(D){var P=x(D,Je);return P}}),qe=Ge.animated}}]);