unframer 2.25.1 → 2.25.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/exporter.js +2 -8
- package/dist/exporter.js.map +1 -1
- package/dist/framer.d.ts.map +1 -1
- package/dist/framer.js +252 -199
- package/dist/framer.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/esm/exporter.js +2 -8
- package/esm/exporter.js.map +1 -1
- package/esm/framer.d.ts.map +1 -1
- package/esm/framer.js +252 -199
- package/esm/framer.js.map +1 -1
- package/esm/version.d.ts +1 -1
- package/esm/version.js +1 -1
- package/package.json +2 -2
- package/src/exporter.ts +2 -8
- package/src/framer.js +256 -214
- package/src/version.ts +1 -1
package/esm/framer.js
CHANGED
|
@@ -10390,7 +10390,7 @@ function stagger(duration = 0.1, { startDelay = 0, from = 0, ease: ease2, } = {}
|
|
|
10390
10390
|
return startDelay + delay2;
|
|
10391
10391
|
};
|
|
10392
10392
|
}
|
|
10393
|
-
// /:https://app.framerstatic.com/framer.
|
|
10393
|
+
// /:https://app.framerstatic.com/framer.ZDVTUSJ2.mjs
|
|
10394
10394
|
import { lazy as ReactLazy, } from 'react';
|
|
10395
10395
|
import React4 from 'react';
|
|
10396
10396
|
import { startTransition as startTransition2, } from 'react';
|
|
@@ -11619,49 +11619,6 @@ function getRouteElementId(route, hash2) {
|
|
|
11619
11619
|
}
|
|
11620
11620
|
return void 0;
|
|
11621
11621
|
}
|
|
11622
|
-
function yieldToMain(options) {
|
|
11623
|
-
if ('scheduler' in window) {
|
|
11624
|
-
if ('yield' in scheduler)
|
|
11625
|
-
return scheduler.yield(options);
|
|
11626
|
-
if ('postTask' in scheduler)
|
|
11627
|
-
return scheduler.postTask(() => { }, options);
|
|
11628
|
-
}
|
|
11629
|
-
if ((options == null ? void 0 : options.priority) === 'user-blocking') {
|
|
11630
|
-
return Promise.resolve();
|
|
11631
|
-
}
|
|
11632
|
-
return new Promise((resolve) => {
|
|
11633
|
-
setTimeout(resolve);
|
|
11634
|
-
});
|
|
11635
|
-
}
|
|
11636
|
-
async function yieldBefore(fn, options) {
|
|
11637
|
-
await yieldToMain(options);
|
|
11638
|
-
return fn();
|
|
11639
|
-
}
|
|
11640
|
-
function interactionResponse(options) {
|
|
11641
|
-
return new Promise((resolve) => {
|
|
11642
|
-
setTimeout(resolve, 100);
|
|
11643
|
-
requestAnimationFrame(() => {
|
|
11644
|
-
void yieldBefore(resolve, options);
|
|
11645
|
-
});
|
|
11646
|
-
});
|
|
11647
|
-
}
|
|
11648
|
-
function useAfterPaintEffect(effectFn, deps, opts, useEffectFn = useLayoutEffect) {
|
|
11649
|
-
useEffectFn(() => {
|
|
11650
|
-
const runAfterPaint = async (fn) => {
|
|
11651
|
-
await interactionResponse(opts);
|
|
11652
|
-
return fn();
|
|
11653
|
-
};
|
|
11654
|
-
const runPromise = runAfterPaint(effectFn);
|
|
11655
|
-
return () => {
|
|
11656
|
-
void (async () => {
|
|
11657
|
-
const cleanup = await runPromise;
|
|
11658
|
-
if (!cleanup)
|
|
11659
|
-
return;
|
|
11660
|
-
void runAfterPaint(cleanup);
|
|
11661
|
-
})();
|
|
11662
|
-
};
|
|
11663
|
-
}, deps);
|
|
11664
|
-
}
|
|
11665
11622
|
var EMPTY_ARRAY = [];
|
|
11666
11623
|
function monitorINPRelatedInputs(signal) {
|
|
11667
11624
|
const inpRelatedInputs = ['pointerdown', 'pointerup', 'keydown', 'keyup',];
|
|
@@ -11743,38 +11700,6 @@ supportsRequestIdleCallback ? window.requestIdleCallback : setTimeout)();
|
|
|
11743
11700
|
function encodeSVGForCSS(svg) {
|
|
11744
11701
|
return `url('data:image/svg+xml,${svg.replaceAll('#', '%23').replaceAll('\'', '%27')}')`;
|
|
11745
11702
|
}
|
|
11746
|
-
var shouldPreloadBasedOnUA = !isBot;
|
|
11747
|
-
function useRoutePreloader(routeIds, enabled = true) {
|
|
11748
|
-
const { getRoute, } = useRouter();
|
|
11749
|
-
useEffect(() => {
|
|
11750
|
-
if (!getRoute || !enabled || !shouldPreloadBasedOnUA)
|
|
11751
|
-
return;
|
|
11752
|
-
for (const routeId of routeIds) {
|
|
11753
|
-
void preloadRoute(getRoute(routeId));
|
|
11754
|
-
}
|
|
11755
|
-
}, [routeIds, getRoute, enabled,]);
|
|
11756
|
-
}
|
|
11757
|
-
async function preloadRoute(route) {
|
|
11758
|
-
if (!shouldPreloadBasedOnUA || !route)
|
|
11759
|
-
return;
|
|
11760
|
-
const component = route.page;
|
|
11761
|
-
if (!component || !isLazyComponentType(component))
|
|
11762
|
-
return;
|
|
11763
|
-
await yieldToMain();
|
|
11764
|
-
try {
|
|
11765
|
-
await component.preload();
|
|
11766
|
-
}
|
|
11767
|
-
catch (e) {
|
|
11768
|
-
if (false)
|
|
11769
|
-
console.warn('Preload failed', route, e);
|
|
11770
|
-
}
|
|
11771
|
-
}
|
|
11772
|
-
function useRouteHandler(routeId, preload = false, elementId) {
|
|
11773
|
-
const { navigate, } = useRouter();
|
|
11774
|
-
useRoutePreloader([routeId,], preload);
|
|
11775
|
-
const handler = React4.useCallback(() => navigate == null ? void 0 : navigate(routeId, elementId), [navigate, elementId, routeId,]);
|
|
11776
|
-
return handler;
|
|
11777
|
-
}
|
|
11778
11703
|
var mockWindow = {
|
|
11779
11704
|
addEventListener: () => { },
|
|
11780
11705
|
removeEventListener: () => { },
|
|
@@ -11833,6 +11758,107 @@ var mockWindow = {
|
|
|
11833
11758
|
__framer_events: [],
|
|
11834
11759
|
};
|
|
11835
11760
|
var safeWindow = !isWindow ? mockWindow : window;
|
|
11761
|
+
var canUseYield = /* @__PURE__ */ (() => safeWindow.scheduler && 'yield' in safeWindow.scheduler)();
|
|
11762
|
+
var canUsePostTask = /* @__PURE__ */ (() => safeWindow.scheduler && 'postTask' in safeWindow.scheduler)();
|
|
11763
|
+
var pendingResolvers = /* @__PURE__ */ new Set();
|
|
11764
|
+
function resolvePendingPromises() {
|
|
11765
|
+
for (const resolve of pendingResolvers)
|
|
11766
|
+
resolve();
|
|
11767
|
+
pendingResolvers.clear();
|
|
11768
|
+
}
|
|
11769
|
+
function yieldUnlessUrgent(options) {
|
|
11770
|
+
return new Promise((resolve) => {
|
|
11771
|
+
pendingResolvers.add(resolve);
|
|
11772
|
+
if (document.hidden) {
|
|
11773
|
+
resolvePendingPromises();
|
|
11774
|
+
return;
|
|
11775
|
+
}
|
|
11776
|
+
document.addEventListener('visibilitychange', resolvePendingPromises);
|
|
11777
|
+
document.addEventListener('pagehide', resolvePendingPromises);
|
|
11778
|
+
frame.read(() => {
|
|
11779
|
+
const resolveFn = () => {
|
|
11780
|
+
var _a;
|
|
11781
|
+
pendingResolvers.delete(resolve);
|
|
11782
|
+
if ((_a = options == null ? void 0 : options.signal) == null ? void 0 : _a.aborted)
|
|
11783
|
+
return;
|
|
11784
|
+
resolve();
|
|
11785
|
+
};
|
|
11786
|
+
void schedulerYield(options).then(resolveFn);
|
|
11787
|
+
});
|
|
11788
|
+
return;
|
|
11789
|
+
});
|
|
11790
|
+
}
|
|
11791
|
+
function interactionResponse(options) {
|
|
11792
|
+
return new Promise((resolve) => {
|
|
11793
|
+
setTimeout(resolve, 100);
|
|
11794
|
+
frame.read(() => {
|
|
11795
|
+
void schedulerYield(options).then(resolve);
|
|
11796
|
+
});
|
|
11797
|
+
});
|
|
11798
|
+
}
|
|
11799
|
+
function schedulerYield(options) {
|
|
11800
|
+
const priority = options == null ? void 0 : options.priority;
|
|
11801
|
+
const canUseModernAPI = canUseYield || canUsePostTask;
|
|
11802
|
+
if (!canUseModernAPI) {
|
|
11803
|
+
if (priority === 'user-blocking') {
|
|
11804
|
+
return Promise.resolve();
|
|
11805
|
+
}
|
|
11806
|
+
return new Promise((resolve) => {
|
|
11807
|
+
setTimeout(resolve, priority === 'background' ? 1 : 0);
|
|
11808
|
+
});
|
|
11809
|
+
}
|
|
11810
|
+
if (priority === 'background') {
|
|
11811
|
+
return new Promise((resolve) => {
|
|
11812
|
+
setTimeout(resolve, 1);
|
|
11813
|
+
});
|
|
11814
|
+
}
|
|
11815
|
+
if (canUseYield) {
|
|
11816
|
+
return safeWindow.scheduler.yield(options).catch(noop2);
|
|
11817
|
+
}
|
|
11818
|
+
return safeWindow.scheduler.postTask(() => { }, options).catch(noop2);
|
|
11819
|
+
}
|
|
11820
|
+
function yieldToMain(options) {
|
|
11821
|
+
const { continueAfter, ensureContinueBeforeUnload, ...schedulerOptions } = options ?? {};
|
|
11822
|
+
if (ensureContinueBeforeUnload) {
|
|
11823
|
+
return yieldUnlessUrgent(schedulerOptions);
|
|
11824
|
+
}
|
|
11825
|
+
if (continueAfter === 'paint') {
|
|
11826
|
+
return interactionResponse(schedulerOptions);
|
|
11827
|
+
}
|
|
11828
|
+
return schedulerYield(schedulerOptions);
|
|
11829
|
+
}
|
|
11830
|
+
var shouldPreloadBasedOnUA = !isBot;
|
|
11831
|
+
function useRoutePreloader(routeIds, enabled = true) {
|
|
11832
|
+
const { getRoute, } = useRouter();
|
|
11833
|
+
useEffect(() => {
|
|
11834
|
+
if (!getRoute || !enabled || !shouldPreloadBasedOnUA)
|
|
11835
|
+
return;
|
|
11836
|
+
for (const routeId of routeIds) {
|
|
11837
|
+
void preloadRoute(getRoute(routeId));
|
|
11838
|
+
}
|
|
11839
|
+
}, [routeIds, getRoute, enabled,]);
|
|
11840
|
+
}
|
|
11841
|
+
async function preloadRoute(route) {
|
|
11842
|
+
if (!shouldPreloadBasedOnUA || !route)
|
|
11843
|
+
return;
|
|
11844
|
+
const component = route.page;
|
|
11845
|
+
if (!component || !isLazyComponentType(component))
|
|
11846
|
+
return;
|
|
11847
|
+
await yieldToMain();
|
|
11848
|
+
try {
|
|
11849
|
+
await component.preload();
|
|
11850
|
+
}
|
|
11851
|
+
catch (e) {
|
|
11852
|
+
if (false)
|
|
11853
|
+
console.warn('Preload failed', route, e);
|
|
11854
|
+
}
|
|
11855
|
+
}
|
|
11856
|
+
function useRouteHandler(routeId, preload = false, elementId) {
|
|
11857
|
+
const { navigate, } = useRouter();
|
|
11858
|
+
useRoutePreloader([routeId,], preload);
|
|
11859
|
+
const handler = React4.useCallback(() => navigate == null ? void 0 : navigate(routeId, elementId), [navigate, elementId, routeId,]);
|
|
11860
|
+
return handler;
|
|
11861
|
+
}
|
|
11836
11862
|
var timezone;
|
|
11837
11863
|
var visitorLocale;
|
|
11838
11864
|
function setTimezoneAndLocaleForTracking() {
|
|
@@ -12576,6 +12602,26 @@ var announceNavigation = () => {
|
|
|
12576
12602
|
announceDiv.textContent = document.title;
|
|
12577
12603
|
}, 60);
|
|
12578
12604
|
};
|
|
12605
|
+
function useAfterPaintEffect(effectFn, deps, options, useEffectFn = useLayoutEffect) {
|
|
12606
|
+
useEffectFn(() => {
|
|
12607
|
+
const runAfterPaint = async (fn) => {
|
|
12608
|
+
await yieldToMain({
|
|
12609
|
+
...options,
|
|
12610
|
+
continueAfter: 'paint',
|
|
12611
|
+
});
|
|
12612
|
+
return fn();
|
|
12613
|
+
};
|
|
12614
|
+
const runPromise = runAfterPaint(effectFn);
|
|
12615
|
+
return () => {
|
|
12616
|
+
void (async () => {
|
|
12617
|
+
const cleanup = await runPromise;
|
|
12618
|
+
if (!cleanup)
|
|
12619
|
+
return;
|
|
12620
|
+
void runAfterPaint(cleanup);
|
|
12621
|
+
})();
|
|
12622
|
+
};
|
|
12623
|
+
}, deps);
|
|
12624
|
+
}
|
|
12579
12625
|
function useMonitorNextPaintAfterRender(label) {
|
|
12580
12626
|
const resolveHasPainted = useRef3(void 0);
|
|
12581
12627
|
useAfterPaintEffect(() => {
|
|
@@ -13328,7 +13374,7 @@ function useMarkSuspenseEffectsStart() {
|
|
|
13328
13374
|
wasInBackground = true;
|
|
13329
13375
|
return;
|
|
13330
13376
|
}
|
|
13331
|
-
|
|
13377
|
+
frame.read(() => {
|
|
13332
13378
|
hydrationMarker == null ? void 0 : hydrationMarker.browserRendering.requestAnimationFrame.markStart();
|
|
13333
13379
|
hydrationMarker == null ? void 0 : hydrationMarker.unattributedHydrationOverhead.measure();
|
|
13334
13380
|
});
|
|
@@ -13349,9 +13395,9 @@ function useMarkSuspenseEffectEnd() {
|
|
|
13349
13395
|
hydrationMarker == null ? void 0 : hydrationMarker.useLayoutEffects.markEnd();
|
|
13350
13396
|
if (wasInBackground || document.visibilityState !== 'visible')
|
|
13351
13397
|
return;
|
|
13352
|
-
|
|
13398
|
+
frame.read(() => {
|
|
13353
13399
|
hydrationMarker == null ? void 0 : hydrationMarker.browserRendering.requestAnimationFrame.markEnd();
|
|
13354
|
-
void
|
|
13400
|
+
void yieldToMain().then(() => {
|
|
13355
13401
|
hydrationMarker == null ? void 0 : hydrationMarker.browserRendering.layoutStylePaint.markEnd();
|
|
13356
13402
|
});
|
|
13357
13403
|
});
|
|
@@ -26146,7 +26192,7 @@ function collectBoxShadowsForProps(props, style2) {
|
|
|
26146
26192
|
return;
|
|
26147
26193
|
style2.boxShadow = boxShadow;
|
|
26148
26194
|
}
|
|
26149
|
-
function shadowForShape(boxShadows, rect, shapeId,
|
|
26195
|
+
function shadowForShape(boxShadows, rect, shapeId, strokeAlpha, strokeWidth, strokeClipId, svgStrokeAttributes) {
|
|
26150
26196
|
const definition = [];
|
|
26151
26197
|
let outsetElement = null;
|
|
26152
26198
|
let insetElement = null;
|
|
@@ -26195,8 +26241,8 @@ function shadowForShape(boxShadows, rect, shapeId, fillAlpha, strokeAlpha, strok
|
|
|
26195
26241
|
miter = 4;
|
|
26196
26242
|
let shadowRect = Rect.merge(...shadowRects);
|
|
26197
26243
|
shadowRect = Rect.inflate(shadowRect, (expandStrokeWidth * miter / 2 + maxBlur) * 1.1);
|
|
26198
|
-
const width = rect.width + (strokeWidth ? strokeWidth / 2 : 0
|
|
26199
|
-
const height = rect.height + (strokeWidth ? strokeWidth / 2 : 0
|
|
26244
|
+
const width = rect.width + (strokeWidth ? strokeWidth / 2 : 0);
|
|
26245
|
+
const height = rect.height + (strokeWidth ? strokeWidth / 2 : 0);
|
|
26200
26246
|
const filterX = shadowRect.x / width * 100;
|
|
26201
26247
|
const filterY = shadowRect.y / height * 100;
|
|
26202
26248
|
const filterWidth = shadowRect.width / width * 100;
|
|
@@ -26243,7 +26289,6 @@ function shadowForShape(boxShadows, rect, shapeId, fillAlpha, strokeAlpha, strok
|
|
|
26243
26289
|
children: /* @__PURE__ */ jsx3('use', {
|
|
26244
26290
|
...svgStrokeAttributes,
|
|
26245
26291
|
fill: 'black',
|
|
26246
|
-
fillOpacity: fillAlpha <= 0 ? 0 : 1,
|
|
26247
26292
|
stroke: 'black',
|
|
26248
26293
|
strokeOpacity: strokeAlpha <= 0 ? 0 : 1,
|
|
26249
26294
|
strokeWidth: strokeAlpha > 0 ? strokeWidth : 0,
|
|
@@ -26321,17 +26366,12 @@ function shadowForShape(boxShadows, rect, shapeId, fillAlpha, strokeAlpha, strok
|
|
|
26321
26366
|
}
|
|
26322
26367
|
function outerShadowElements(shapeID, shadow, index) {
|
|
26323
26368
|
const shadowKey = shapeID.add('_outer_shadow' + index);
|
|
26324
|
-
const offsetResultId = shadowKey.add('offset').id;
|
|
26325
|
-
const blurResultId = shadowKey.add('blur').id;
|
|
26326
|
-
const matrixResultId = shadowKey.add('matrix').id;
|
|
26327
26369
|
const filterElements = /* @__PURE__ */ jsx3(OuterShadowFilterElements, {
|
|
26328
26370
|
shadow,
|
|
26329
|
-
|
|
26330
|
-
offsetId: offsetResultId,
|
|
26331
|
-
matrixId: matrixResultId,
|
|
26371
|
+
shadowKey,
|
|
26332
26372
|
}, shadowKey.id + '-filters');
|
|
26333
26373
|
const mergeElement = /* @__PURE__ */ jsx3('feMergeNode', {
|
|
26334
|
-
in:
|
|
26374
|
+
in: shadowKey.id,
|
|
26335
26375
|
}, shadowKey.id + '-merge');
|
|
26336
26376
|
return {
|
|
26337
26377
|
filterElements,
|
|
@@ -26339,13 +26379,10 @@ function outerShadowElements(shapeID, shadow, index) {
|
|
|
26339
26379
|
};
|
|
26340
26380
|
}
|
|
26341
26381
|
var OuterShadowFilterElements = (props) => {
|
|
26342
|
-
const { shadow,
|
|
26343
|
-
const
|
|
26344
|
-
const
|
|
26345
|
-
const
|
|
26346
|
-
const g = roundedNumberString(rgb.g / 255, 3);
|
|
26347
|
-
const b = roundedNumberString(rgb.b / 255, 3);
|
|
26348
|
-
const matrixValues = `0 0 0 0 ${r} 0 0 0 0 ${g} 0 0 0 0 ${b} 0 0 0 ${rgb.a} 0`;
|
|
26382
|
+
const { shadow, shadowKey, } = props;
|
|
26383
|
+
const offsetId = shadowKey.add('offset').id;
|
|
26384
|
+
const blurId = shadowKey.add('blur').id;
|
|
26385
|
+
const floodId = shadowKey.add('flood').id;
|
|
26349
26386
|
return /* @__PURE__ */ jsxs(Fragment, {
|
|
26350
26387
|
children: [
|
|
26351
26388
|
/* @__PURE__ */ jsx3('feOffset', {
|
|
@@ -26359,31 +26396,27 @@ var OuterShadowFilterElements = (props) => {
|
|
|
26359
26396
|
in: offsetId,
|
|
26360
26397
|
result: blurId,
|
|
26361
26398
|
}),
|
|
26362
|
-
/* @__PURE__ */ jsx3('
|
|
26363
|
-
|
|
26364
|
-
|
|
26365
|
-
|
|
26366
|
-
|
|
26367
|
-
|
|
26399
|
+
/* @__PURE__ */ jsx3('feFlood', {
|
|
26400
|
+
floodColor: shadow.color,
|
|
26401
|
+
result: floodId,
|
|
26402
|
+
}),
|
|
26403
|
+
/* @__PURE__ */ jsx3('feComposite', {
|
|
26404
|
+
in: floodId,
|
|
26405
|
+
in2: blurId,
|
|
26406
|
+
operator: 'in',
|
|
26407
|
+
result: shadowKey.id,
|
|
26368
26408
|
}),
|
|
26369
26409
|
],
|
|
26370
26410
|
});
|
|
26371
26411
|
};
|
|
26372
26412
|
function innerShadowElements(shapeID, shadow, index) {
|
|
26373
26413
|
const shadowKey = shapeID.add('_inside_shadow' + index);
|
|
26374
|
-
const blurId = shadowKey.add('blur').id;
|
|
26375
|
-
const offsetId = shadowKey.add('offset').id;
|
|
26376
|
-
const compositeId = shadowKey.add('composite').id;
|
|
26377
|
-
const matrixId = shadowKey.add('matrix').id;
|
|
26378
26414
|
const filterElements = /* @__PURE__ */ jsx3(InnerShadowFilterElements, {
|
|
26379
26415
|
shadow,
|
|
26380
|
-
|
|
26381
|
-
offsetId,
|
|
26382
|
-
compositeId,
|
|
26383
|
-
matrixId,
|
|
26416
|
+
shadowKey,
|
|
26384
26417
|
}, shadowKey.id + '-filters');
|
|
26385
26418
|
const mergeElement = /* @__PURE__ */ jsx3('feMergeNode', {
|
|
26386
|
-
in:
|
|
26419
|
+
in: shadowKey.id,
|
|
26387
26420
|
}, shadowKey.id + '-merge');
|
|
26388
26421
|
return {
|
|
26389
26422
|
filterElements,
|
|
@@ -26391,13 +26424,11 @@ function innerShadowElements(shapeID, shadow, index) {
|
|
|
26391
26424
|
};
|
|
26392
26425
|
}
|
|
26393
26426
|
var InnerShadowFilterElements = (props) => {
|
|
26394
|
-
const { shadow,
|
|
26395
|
-
const
|
|
26396
|
-
const
|
|
26397
|
-
const
|
|
26398
|
-
const
|
|
26399
|
-
const b = rgb.b / 255;
|
|
26400
|
-
const matrixValues = `0 0 0 0 ${r} 0 0 0 0 ${g} 0 0 0 0 ${b} 0 0 0 ${rgb.a} 0`;
|
|
26427
|
+
const { shadow, shadowKey, } = props;
|
|
26428
|
+
const blurId = shadowKey.add('blur').id;
|
|
26429
|
+
const offsetId = shadowKey.add('offset').id;
|
|
26430
|
+
const compositeId = shadowKey.add('composite').id;
|
|
26431
|
+
const floodId = shadowKey.add('flood').id;
|
|
26401
26432
|
return /* @__PURE__ */ jsxs(Fragment, {
|
|
26402
26433
|
children: [
|
|
26403
26434
|
/* @__PURE__ */ jsx3('feGaussianBlur', {
|
|
@@ -26419,12 +26450,15 @@ var InnerShadowFilterElements = (props) => {
|
|
|
26419
26450
|
k3: '1',
|
|
26420
26451
|
result: compositeId,
|
|
26421
26452
|
}),
|
|
26422
|
-
/* @__PURE__ */ jsx3('
|
|
26423
|
-
|
|
26424
|
-
|
|
26425
|
-
|
|
26426
|
-
|
|
26427
|
-
|
|
26453
|
+
/* @__PURE__ */ jsx3('feFlood', {
|
|
26454
|
+
floodColor: shadow.color,
|
|
26455
|
+
result: floodId,
|
|
26456
|
+
}),
|
|
26457
|
+
/* @__PURE__ */ jsx3('feComposite', {
|
|
26458
|
+
in: floodId,
|
|
26459
|
+
in2: compositeId,
|
|
26460
|
+
operator: 'in',
|
|
26461
|
+
result: shadowKey.id,
|
|
26428
26462
|
}),
|
|
26429
26463
|
],
|
|
26430
26464
|
});
|
|
@@ -32503,6 +32537,9 @@ function Floating({ alignment, placement, safeArea, offsetX, offsetY, anchorRef,
|
|
|
32503
32537
|
ref: floatingPositionRef,
|
|
32504
32538
|
className: className2,
|
|
32505
32539
|
style: {
|
|
32540
|
+
// Start from the top left of the screen to prevent jumps.
|
|
32541
|
+
top: 0,
|
|
32542
|
+
left: 0,
|
|
32506
32543
|
// Initially rendered as hidden, but the layout effect will set
|
|
32507
32544
|
// to visible when the position is calculated.
|
|
32508
32545
|
visibility: 'hidden',
|
|
@@ -32565,7 +32602,7 @@ var GracefullyDegradingErrorBoundary = class extends Component2 {
|
|
|
32565
32602
|
|
|
32566
32603
|
`, error);
|
|
32567
32604
|
const sampleRate = Math.random();
|
|
32568
|
-
if (sampleRate > 0.
|
|
32605
|
+
if (sampleRate > 0.25)
|
|
32569
32606
|
return;
|
|
32570
32607
|
const stack = error instanceof Error && typeof error.stack === 'string' ? error.stack : null;
|
|
32571
32608
|
sendTrackingEvent('published_site_load_error', {
|
|
@@ -32677,50 +32714,6 @@ function findAnchorElement(target, withinElement) {
|
|
|
32677
32714
|
}
|
|
32678
32715
|
return null;
|
|
32679
32716
|
}
|
|
32680
|
-
var pendingResolvers = /* @__PURE__ */ new Set();
|
|
32681
|
-
function resolvePendingPromises() {
|
|
32682
|
-
for (const resolve of pendingResolvers)
|
|
32683
|
-
resolve();
|
|
32684
|
-
pendingResolvers.clear();
|
|
32685
|
-
}
|
|
32686
|
-
var canUseYield = /* @__PURE__ */ (() => safeWindow.scheduler && 'yield' in safeWindow.scheduler)();
|
|
32687
|
-
var canUsePostTask = /* @__PURE__ */ (() => safeWindow.scheduler && 'postTask' in safeWindow.scheduler)();
|
|
32688
|
-
function yieldUnlessUrgent(options) {
|
|
32689
|
-
return new Promise((resolve) => {
|
|
32690
|
-
pendingResolvers.add(resolve);
|
|
32691
|
-
if (document.hidden) {
|
|
32692
|
-
resolvePendingPromises();
|
|
32693
|
-
return;
|
|
32694
|
-
}
|
|
32695
|
-
document.addEventListener('visibilitychange', resolvePendingPromises);
|
|
32696
|
-
document.addEventListener('pagehide', resolvePendingPromises);
|
|
32697
|
-
requestAnimationFrame(() => {
|
|
32698
|
-
const resolveFn = () => {
|
|
32699
|
-
var _a;
|
|
32700
|
-
pendingResolvers.delete(resolve);
|
|
32701
|
-
if ((_a = options == null ? void 0 : options.signal) == null ? void 0 : _a.aborted)
|
|
32702
|
-
return;
|
|
32703
|
-
resolve();
|
|
32704
|
-
};
|
|
32705
|
-
const priority = options == null ? void 0 : options.priority;
|
|
32706
|
-
const canUseModernAPI = canUseYield || canUsePostTask;
|
|
32707
|
-
if (!canUseModernAPI) {
|
|
32708
|
-
if (priority === 'user-blocking')
|
|
32709
|
-
return resolveFn();
|
|
32710
|
-
return setTimeout(resolveFn, priority === 'background' ? 1 : 0);
|
|
32711
|
-
}
|
|
32712
|
-
if (priority === 'background') {
|
|
32713
|
-
return setTimeout(resolveFn, 1);
|
|
32714
|
-
}
|
|
32715
|
-
if (canUseYield) {
|
|
32716
|
-
safeWindow.scheduler.yield(options).then(resolveFn).catch(noop2);
|
|
32717
|
-
return;
|
|
32718
|
-
}
|
|
32719
|
-
safeWindow.scheduler.postTask(resolveFn, options).catch(noop2);
|
|
32720
|
-
});
|
|
32721
|
-
return;
|
|
32722
|
-
});
|
|
32723
|
-
}
|
|
32724
32717
|
function ChildrenCanSuspend({ children, }) {
|
|
32725
32718
|
return /* @__PURE__ */ jsx3(SuspenseThatPreservesDom, {
|
|
32726
32719
|
children,
|
|
@@ -33452,8 +33445,10 @@ function createOnClickLinkHandler(router, routeId, href, trackLinkClick, element
|
|
|
33452
33445
|
const shouldPerformNavigation = !usedMetaKey && !isExternalLink;
|
|
33453
33446
|
const track = () => void trackLinkClick(href);
|
|
33454
33447
|
if (!shouldPerformNavigation) {
|
|
33455
|
-
await
|
|
33448
|
+
await yieldToMain({
|
|
33456
33449
|
priority: 'user-blocking',
|
|
33450
|
+
ensureContinueBeforeUnload: true,
|
|
33451
|
+
continueAfter: 'paint',
|
|
33457
33452
|
});
|
|
33458
33453
|
track();
|
|
33459
33454
|
return;
|
|
@@ -33836,8 +33831,9 @@ var FormContainer = /* @__PURE__ */ React4.forwardRef(function FormContainer2({
|
|
|
33836
33831
|
type: 'submit',
|
|
33837
33832
|
});
|
|
33838
33833
|
const data2 = new FormData(event.currentTarget);
|
|
33839
|
-
await
|
|
33834
|
+
await yieldToMain({
|
|
33840
33835
|
priority: 'user-blocking',
|
|
33836
|
+
continueAfter: 'paint',
|
|
33841
33837
|
});
|
|
33842
33838
|
addUTMTagsToFormData(data2, safeWindow.document);
|
|
33843
33839
|
for (const [key7, value,] of data2) {
|
|
@@ -33881,8 +33877,9 @@ var FormContainer = /* @__PURE__ */ React4.forwardRef(function FormContainer2({
|
|
|
33881
33877
|
};
|
|
33882
33878
|
const checkValidity = async (e) => {
|
|
33883
33879
|
const target = e.currentTarget;
|
|
33884
|
-
await
|
|
33880
|
+
await yieldToMain({
|
|
33885
33881
|
priority: 'background',
|
|
33882
|
+
continueAfter: 'paint',
|
|
33886
33883
|
});
|
|
33887
33884
|
startTransition2(() => dispatch({
|
|
33888
33885
|
type: anyEmptyRequiredFields(target) ? 'incomplete' : 'complete',
|
|
@@ -34121,6 +34118,10 @@ function Router({ defaultPageStyle, disableHistory, initialPathVariables, initia
|
|
|
34121
34118
|
const nextRender = monitorNextPaintAfterRender({
|
|
34122
34119
|
localized: true,
|
|
34123
34120
|
});
|
|
34121
|
+
await yieldToMain({
|
|
34122
|
+
priority: 'user-blocking',
|
|
34123
|
+
continueAfter: 'paint',
|
|
34124
|
+
});
|
|
34124
34125
|
let localeId;
|
|
34125
34126
|
if (isString(localeOrLocaleId)) {
|
|
34126
34127
|
localeId = localeOrLocaleId;
|
|
@@ -34209,11 +34210,14 @@ function Router({ defaultPageStyle, disableHistory, initialPathVariables, initia
|
|
|
34209
34210
|
preloaded: hasRendered ? void 0 : routeStatus == null ? void 0 : routeStatus.hasLoaded,
|
|
34210
34211
|
});
|
|
34211
34212
|
const executeBeforeUrlUpdate = executeBeforeUrlUpdateOnce(beforeUrlUpdate);
|
|
34212
|
-
void
|
|
34213
|
+
void yieldToMain({
|
|
34213
34214
|
priority: 'background',
|
|
34215
|
+
ensureContinueBeforeUnload: true,
|
|
34216
|
+
continueAfter: 'paint',
|
|
34214
34217
|
}).then(executeBeforeUrlUpdate);
|
|
34215
|
-
await
|
|
34218
|
+
await yieldToMain({
|
|
34216
34219
|
priority: 'user-blocking',
|
|
34220
|
+
continueAfter: 'paint',
|
|
34217
34221
|
});
|
|
34218
34222
|
if (pathVariables) {
|
|
34219
34223
|
const inUse = /* @__PURE__ */ new Set();
|
|
@@ -39980,11 +39984,14 @@ function useOnAppear(callback) {
|
|
|
39980
39984
|
default: callback,
|
|
39981
39985
|
});
|
|
39982
39986
|
}
|
|
39983
|
-
async function setOverflow(blockDocumentScrolling, show,
|
|
39987
|
+
async function setOverflow(blockDocumentScrolling, show, yieldBefore = true) {
|
|
39984
39988
|
if (blockDocumentScrolling === false)
|
|
39985
39989
|
return;
|
|
39986
|
-
if (
|
|
39987
|
-
await
|
|
39990
|
+
if (yieldBefore) {
|
|
39991
|
+
await yieldToMain({
|
|
39992
|
+
continueAfter: 'paint',
|
|
39993
|
+
});
|
|
39994
|
+
}
|
|
39988
39995
|
frame.render(() => {
|
|
39989
39996
|
const htmlStyle = document.documentElement.style;
|
|
39990
39997
|
if (show) {
|
|
@@ -40404,22 +40411,48 @@ function useUpdateIfVisible(ref) {
|
|
|
40404
40411
|
runUpdateIfPageIsVisible(runUpdate);
|
|
40405
40412
|
}, [runUpdateIfPageIsVisible, runUpdateIfElementIsInView, ref,]);
|
|
40406
40413
|
}
|
|
40414
|
+
var globalWaitingForClickPromise;
|
|
40415
|
+
var globalWaitingForClickResolve;
|
|
40416
|
+
async function getPromiseWithFallback() {
|
|
40417
|
+
return new Promise((resolve) => {
|
|
40418
|
+
const resolveFn = () => {
|
|
40419
|
+
resolve();
|
|
40420
|
+
clearTimeout(timeout);
|
|
40421
|
+
};
|
|
40422
|
+
const timeout = setTimeout(resolveFn, 150);
|
|
40423
|
+
globalWaitingForClickResolve = resolveFn;
|
|
40424
|
+
});
|
|
40425
|
+
}
|
|
40426
|
+
function globalWaitForClickListener(event) {
|
|
40427
|
+
if (event.button === 0) {
|
|
40428
|
+
globalWaitingForClickPromise = getPromiseWithFallback();
|
|
40429
|
+
}
|
|
40430
|
+
}
|
|
40431
|
+
function globalClickReceivedListener() {
|
|
40432
|
+
globalWaitingForClickPromise = void 0;
|
|
40433
|
+
globalWaitingForClickResolve == null ? void 0 : globalWaitingForClickResolve();
|
|
40434
|
+
globalWaitingForClickResolve = void 0;
|
|
40435
|
+
}
|
|
40436
|
+
function useWaitForGlobalClick(enabled = false) {
|
|
40437
|
+
useEffect(() => {
|
|
40438
|
+
if (!enabled)
|
|
40439
|
+
return;
|
|
40440
|
+
document.addEventListener('pointerup', globalWaitForClickListener, true);
|
|
40441
|
+
document.__proto__.addEventListener.call(document, 'click', globalClickReceivedListener, true);
|
|
40442
|
+
}, [enabled,]);
|
|
40443
|
+
}
|
|
40407
40444
|
function useVariantState({ variant, defaultVariant: externalDefaultVariant, transitions: externalTransitions, enabledGestures: externalEnabledGestures, cycleOrder: externalCycleOrder = [], variantProps: variantProps2 = {}, variantClassNames = {}, ref, }) {
|
|
40408
40445
|
const forceUpdate = useForceUpdate2();
|
|
40409
40446
|
const isCanvas = useIsOnFramerCanvas();
|
|
40410
40447
|
const validBaseVariants = useConstant2(() => new Set(externalCycleOrder));
|
|
40411
|
-
const { pauseOffscreen: pauseOffscreenFeatureOn, } = useLibraryFeatures();
|
|
40412
|
-
|
|
40413
|
-
if (useTransition) {
|
|
40414
|
-
startTransition2(() => void forceUpdate());
|
|
40415
|
-
return;
|
|
40416
|
-
}
|
|
40417
|
-
forceUpdate();
|
|
40418
|
-
}, [forceUpdate,]);
|
|
40448
|
+
const { pauseOffscreen: pauseOffscreenFeatureOn, yieldOnTap: yieldOnTapFeatureOn, } = useLibraryFeatures();
|
|
40449
|
+
useWaitForGlobalClick(yieldOnTapFeatureOn);
|
|
40419
40450
|
const runUpdateIfVisible = useUpdateIfVisible(ref);
|
|
40420
40451
|
const internalState = useRef3({
|
|
40421
40452
|
isHovered: false,
|
|
40453
|
+
isHoveredHasUpdated: false,
|
|
40422
40454
|
isPressed: false,
|
|
40455
|
+
isPressedHasUpdated: false,
|
|
40423
40456
|
isError: false,
|
|
40424
40457
|
hasPressedVariants: true,
|
|
40425
40458
|
baseVariant: safeBaseVariant(variant, externalDefaultVariant, validBaseVariants),
|
|
@@ -40428,7 +40461,7 @@ function useVariantState({ variant, defaultVariant: externalDefaultVariant, tran
|
|
|
40428
40461
|
loadedBaseVariant: {},
|
|
40429
40462
|
// When used in generated components, these are static values defined
|
|
40430
40463
|
// outside of the component function that also need to not result in
|
|
40431
|
-
//
|
|
40464
|
+
// memorized values being recalculated, so we dump them into the ref.
|
|
40432
40465
|
defaultVariant: externalDefaultVariant,
|
|
40433
40466
|
enabledGestures: externalEnabledGestures,
|
|
40434
40467
|
cycleOrder: externalCycleOrder,
|
|
@@ -40441,7 +40474,7 @@ function useVariantState({ variant, defaultVariant: externalDefaultVariant, tran
|
|
|
40441
40474
|
const nextGestureVariant = gesture ? createGestureVariant(nextBaseVariant, gesture) : void 0;
|
|
40442
40475
|
return [nextBaseVariant, nextGestureVariant,];
|
|
40443
40476
|
}, []);
|
|
40444
|
-
const updateIfNeeded = useCallback((baseVariant2, gestureVariant2, defaultVariant2, nextBaseVariant,
|
|
40477
|
+
const updateIfNeeded = useCallback(async (baseVariant2, gestureVariant2, defaultVariant2, nextBaseVariant, checkViewport = false, clearError = false) => {
|
|
40445
40478
|
const [nextBase, nextGesture,] = resolveNextVariant(nextBaseVariant);
|
|
40446
40479
|
if (nextBase === baseVariant2 && nextGesture === gestureVariant2)
|
|
40447
40480
|
return;
|
|
@@ -40449,9 +40482,26 @@ function useVariantState({ variant, defaultVariant: externalDefaultVariant, tran
|
|
|
40449
40482
|
internalState.current.isError = false;
|
|
40450
40483
|
internalState.current.baseVariant = nextBase || defaultVariant2;
|
|
40451
40484
|
internalState.current.gestureVariant = nextGesture;
|
|
40452
|
-
|
|
40453
|
-
|
|
40485
|
+
const yieldOnTap = yieldOnTapFeatureOn && internalState.current.isPressedHasUpdated;
|
|
40486
|
+
if (yieldOnTap && globalWaitingForClickPromise) {
|
|
40487
|
+
await globalWaitingForClickPromise;
|
|
40488
|
+
}
|
|
40489
|
+
if (yieldOnTap) {
|
|
40490
|
+
await yieldToMain({
|
|
40491
|
+
priority: 'user-blocking',
|
|
40492
|
+
continueAfter: 'paint',
|
|
40493
|
+
});
|
|
40494
|
+
}
|
|
40495
|
+
const { isHovered: isHovered2, isPressed: isPressed2, isHoveredHasUpdated, isPressedHasUpdated, } = internalState.current;
|
|
40496
|
+
if (isHovered2 || isHoveredHasUpdated || isPressed2 || isPressedHasUpdated) {
|
|
40497
|
+
startTransition2(forceUpdate);
|
|
40498
|
+
return;
|
|
40499
|
+
}
|
|
40500
|
+
runUpdateIfVisible(() => startTransition2(forceUpdate), pauseOffscreenFeatureOn && checkViewport);
|
|
40501
|
+
}, [resolveNextVariant, forceUpdate, runUpdateIfVisible, pauseOffscreenFeatureOn, yieldOnTapFeatureOn,]);
|
|
40454
40502
|
const setGestureState = useCallback(({ isHovered: isHovered2, isPressed: isPressed2, isError: isError2, }) => {
|
|
40503
|
+
const isPressedHasUpdated = isPressed2 !== internalState.current.isPressed;
|
|
40504
|
+
const isHoveredHasUpdated = isHovered2 !== internalState.current.isHovered;
|
|
40455
40505
|
if (isHovered2 !== void 0)
|
|
40456
40506
|
internalState.current.isHovered = isHovered2;
|
|
40457
40507
|
if (isPressed2 !== void 0)
|
|
@@ -40459,21 +40509,22 @@ function useVariantState({ variant, defaultVariant: externalDefaultVariant, tran
|
|
|
40459
40509
|
if (isError2 !== void 0)
|
|
40460
40510
|
internalState.current.isError = isError2;
|
|
40461
40511
|
const { baseVariant: baseVariant2, gestureVariant: gestureVariant2, defaultVariant: defaultVariant2, } = internalState.current;
|
|
40462
|
-
|
|
40463
|
-
|
|
40512
|
+
internalState.current.isPressedHasUpdated = isPressedHasUpdated;
|
|
40513
|
+
internalState.current.isHoveredHasUpdated = isHoveredHasUpdated;
|
|
40514
|
+
void updateIfNeeded(baseVariant2, gestureVariant2, defaultVariant2, baseVariant2, false);
|
|
40464
40515
|
}, [updateIfNeeded,]);
|
|
40465
40516
|
const setVariant = useCallback((proposedVariant, pauseOffscreen = false) => {
|
|
40466
40517
|
const { defaultVariant: defaultVariant2, cycleOrder, baseVariant: baseVariant2, gestureVariant: gestureVariant2, } = internalState.current;
|
|
40467
40518
|
const nextBaseVariant = proposedVariant === CycleVariantState
|
|
40468
40519
|
? nextVariant(cycleOrder || [], baseVariant2 || defaultVariant2)
|
|
40469
40520
|
: proposedVariant;
|
|
40470
|
-
updateIfNeeded(baseVariant2, gestureVariant2, defaultVariant2, nextBaseVariant,
|
|
40521
|
+
void updateIfNeeded(baseVariant2, gestureVariant2, defaultVariant2, nextBaseVariant, pauseOffscreen, true);
|
|
40471
40522
|
}, [updateIfNeeded,]);
|
|
40472
40523
|
const clearLoadingGesture = useCallback(() => {
|
|
40473
40524
|
const { baseVariant: baseVariant2, } = internalState.current;
|
|
40474
40525
|
internalState.current.loadedBaseVariant[baseVariant2] = true;
|
|
40475
|
-
runUpdateIfVisible(() =>
|
|
40476
|
-
}, [
|
|
40526
|
+
runUpdateIfVisible(() => startTransition2(forceUpdate), true);
|
|
40527
|
+
}, [forceUpdate, runUpdateIfVisible,]);
|
|
40477
40528
|
if (variant !== internalState.current.lastVariant) {
|
|
40478
40529
|
const [nextBase, nextGesture,] = resolveNextVariant(variant);
|
|
40479
40530
|
internalState.current.lastVariant = nextBase;
|
|
@@ -43138,7 +43189,9 @@ var PlainTextInput = /* @__PURE__ */ forwardRef(function FormPlainTextInput(prop
|
|
|
43138
43189
|
setPrevDefaultValue(defaultValue);
|
|
43139
43190
|
}
|
|
43140
43191
|
const handleChange = useCallback(async (e) => {
|
|
43141
|
-
await
|
|
43192
|
+
await yieldToMain({
|
|
43193
|
+
continueAfter: 'paint',
|
|
43194
|
+
});
|
|
43142
43195
|
const newValue = e.target.value;
|
|
43143
43196
|
onChange == null ? void 0 : onChange(e);
|
|
43144
43197
|
startTransition2(() => setHasValue(!!newValue));
|
|
@@ -44888,7 +44941,7 @@ var SharedSVGManager = class {
|
|
|
44888
44941
|
* VECTOR @TODO - Unsubscribe from vector set items.
|
|
44889
44942
|
*/
|
|
44890
44943
|
template(id3, svg) {
|
|
44891
|
-
const entry = this.vectorSetItems.get(
|
|
44944
|
+
const entry = this.vectorSetItems.get(id3);
|
|
44892
44945
|
if (entry)
|
|
44893
44946
|
return `#${entry.id}`;
|
|
44894
44947
|
this.vectorSetItems.set(id3, {
|
|
@@ -46190,7 +46243,7 @@ var Vector = /* @__PURE__ */ (() => {
|
|
|
46190
46243
|
}
|
|
46191
46244
|
const internalShapeId = InternalID.forKey(id3);
|
|
46192
46245
|
const internalStrokeClipId = InternalID.forKey(strokeClipId);
|
|
46193
|
-
const shadow = shadowForShape(shadows, rect, internalShapeId,
|
|
46246
|
+
const shadow = shadowForShape(shadows, rect, internalShapeId, strokeAlpha, strokeWidth, internalStrokeClipId, svgStrokeAttributes);
|
|
46194
46247
|
const currentName = target === RenderTarget.preview ? name || void 0 : void 0;
|
|
46195
46248
|
if (shadow.insetElement !== null || shadow.outsetElement !== null || insideStroke) {
|
|
46196
46249
|
pathAttributes.id = internalShapeId.id;
|
|
@@ -46812,7 +46865,7 @@ MotionValue.prototype.addChild = function ({ transformer = (v) => v, }) {
|
|
|
46812
46865
|
if (false) {
|
|
46813
46866
|
MainLoop2.start();
|
|
46814
46867
|
}
|
|
46815
|
-
export { _injectRuntime, acceleratedValues2 as acceleratedValues, activeAnimations, addActionControls, addFonts, addPointerEvent, addPointerInfo, addPropertyControls, addScaleCorrector, addUniqueItem, alpha, analyseComplexValue, AnchorLinkTarget, Animatable, animate2 as animate, animateMini, AnimatePresence, AnimateSharedLayout, animateValue, animateView, animateVisualElement, animationControls, animationMapKey, animations, annotateTypeOnStringify, anticipate, AnyInterpolation, applyPxDefaults, AsyncMotionValueAnimation, AutomaticLayoutIds, BackgroundImage, backgroundImageFromProps, backIn, backInOut, backOut, BezierAnimator, BoxShadow, buildTransform2 as buildTransform, calcGeneratorDuration, calcLength, calculateRect, callEach, cancelFrame, cancelMicrotask, cancelSync, ChildrenCanSuspend, circIn, circInOut, circOut, clamp, clampRGB, collectMotionValues, collectVisualStyleFromProps, Color, color, ColorFormat, ColorMixModelType, combinedCSSRulesForPreview, complex, ComponentContainerContext, ComponentPresetsConsumer, ComponentPresetsProvider, ComponentViewportProvider, ConstraintMask, constraintsEnabled, ConstraintValues, Container, ControlType, ConvertColor, convertOffsetToTimes, convertPropsToDeviceOptions, createBox, createData, createFramerPageLink, createGeneratorEasing, createRenderBatcher, createRendererMotionComponent, createScopedAnimate, cssBackgroundSize, cubicBezier, cubicBezierAsString, CustomCursorHost, CustomProperties, cx, CycleVariantState, Data, DataContext, DataObserver, DataObserverContext, debounce, defaultDeviceProps, defaultEasing, defaultOffset, defaultTransformValue, defaultValueTypes, degrees, degreesToRadians, delay, DeprecatedComponentContainer, DeprecatedFrameWithEvents, DeprecatedLayoutGroupContext, DeprecatedLayoutGroupContext as LayoutGroupContext, Device, DeviceCodeComponent, devicePresets, DimensionType, dimensionValueTypes, disableInstantTransitions, dispatchKeyDownEvent, distance, distance2D, DOM, domAnimation, DOMKeyframesResolver, domMax, domMin, DragControls, Draggable, easeIn, easeInOut, easeOut, easingDefinitionToFunction, EmptyState, environment, ErrorPlaceholder, executeInRenderEnvironment, Fetcher, fillOffset, fillWildcards, filterProps, findDimensionValueType, findValueType, finiteNumber, FlatTree, Floating, flushKeyframeResolvers, FontSourceNames, fontStore, forceLayerBackingWithCSSProperties, FormBooleanInput, FormContainer, FormPlainTextInput2 as FormPlainTextInput, FormSelect, fraction, Frame, frame, frameData, frameFromElement, frameFromElements, FramerAnimation, framerAppearAnimationScriptKey, framerAppearEffects, framerAppearIdKey, framerAppearTransformTemplateToken, framerCSSMarker, FramerEvent, FramerEventListener, FramerEventSession, frameSteps, FrameWithMotion, GamepadContext, GeneratedComponentContext, generateLinearEasing, getAnimatableNone2 as getAnimatableNone, getAnimationMap, getComponentSize, getComputedStyle2 as getComputedStyle, getDefaultValueType, getDevicePreset, getEasingForSegment, getFonts, getFontsFromComponentPreset, getFontsFromSharedStyle, getLoadingLazyAtYPosition, getMeasurableCodeComponentChildren, getMixer, getPropertyControls, getValueAsType, getValueTransition, getVariableValue, getWhereExpressionFromPathVariables, GracefullyDegradingErrorBoundary, gradientForShape, GroupAnimation, GroupAnimationWithThen, hasWarned, hex, hover, hsla, hslaToRgba, Image2 as Image, imagePatternPropsForFill, imageUrlForAsset, inertia, inferInitialRouteFromPath, injectComponentCSSRules, installFlexboxGapWorkaroundIfNeeded, InternalID, interpolate, invariant, inView, invisibleValues, isAnimatable2 as isAnimatable, isBezierDefinition, isBrowser, isCSSVariableName, isCSSVariableToken, isDesignDefinition, isDragActive, isDragging, isEasingArray, isEqual, isFiniteNumber, isFractionDimension, isFramerGamepadKeydownData, isFramerPageLink, isGapEnabled, isGenerator, isMotionComponent, isMotionValue2 as isMotionValue, isNodeOrChild, isNumericalString, isOfAnnotatedType, isOverride, isPrimaryPointer, isReactDefinition, isRelativeNumber, isShallowEqualArray, isStaticRenderer, isStraightCurve, isValidMotionProp, isWaapiSupportedEasing, isZeroValueString, JSAnimation, KeyframeResolver, keyframes, Layer, LayoutGroup, LayoutIdContext, lazy, LazyMotion, LazyValue, LibraryFeaturesProvider, Line, LinearGradient, Link, loadFont, loadJSON, localPackageFallbackIdentifier, localShadowFrame, m, MainLoop, makePaddingString, makeUseVisualState, mapEasingToNativeEasing, mapValue, markHydrationStart, maxGeneratorDuration, memo, memoize2 as memoize, microtask, millisecondsToSeconds, mirrorEasing, mix, mixArray, mixColor, mixComplex, mixImmediate, mixLinearColor, mixNumber, mixObject, mixVisibility, modulate, motion, MotionConfig, MotionConfigContext, MotionContext, MotionGlobalConfig, MotionSetup, MotionValue, motionValue, moveItem, namespace_exports as Reorder, NativeAnimation, NativeAnimationExtended, NativeAnimationWrapper, NavigateTo, NavigationCallbackProvider, NavigationConsumer, NavigationTransitionType, NavigationWrapper as Navigation, nestedLinksCollector, noop, NotFoundError, number, numberValueTypes, ObservableObject, observeTimeline, optimizeAppear, optimizeAppearTransformTemplate, optimizedAppearDataAttribute, paddingFromProps, Page3 as Page, PageEffectsProvider, PageRoot, ParentSizeState, parseCSSVariable, parseFramerPageLink, parseValueFromTransform, patchRoutesForABTesting, pathDefaults, PathSegment, PathVariablesContext, percent, pipe, Point, Polygon, positionalKeys, preloadImage, PresenceContext, press, print, progress, progressPercentage, PropertyOverrides2 as PropertyOverrides, PropertyStore, propsForLink, pushLoadMoreHistory, px, QueryCache, QueryEngine, RadialGradient, readTransformValue, recordStats, Rect, removeHiddenBreakpointLayers, removeHiddenBreakpointLayersV2, removeItem, RenderTarget, resolveElements, resolveLink, ResolveLinks, resolveMotionValue, resolvePageScope, reverseEasing, rgba, rgbUnit, RichText2 as RichText, roundedNumber, roundedNumberString, roundWithOffset, safeCSSValue, scale, Scroll, scroll, scrollInfo, secondsToMilliseconds, setDragLock, setGlobalRenderEnvironment, setInitialHydrationState, setStyle, Shadow, sharedSVGManager, shouldOpenLinkInNewTab, Size, SmartComponentScopedContainer, spring, SpringAnimator, SSRVariants, Stack, stagger, startAnimation, startOptimizedAppearAnimation, startWaapiAnimation, statsBuffer, steps, styleEffect, StyleSheetContext, SubscriptionManager, supportedWaapiEasing, supportsBrowserAnimation, supportsFlags, supportsLinearEasing, supportsPartialKeyframes, supportsScrollTimeline, SVG, SwitchLayoutGroupContext, sync, systemFontFamilyName, testValueType, Text2 as Text, throttle, time, toFlexDirection, toJustifyOrAlignment, toSVGPath, transform, transformPropOrder, transformProps, transformString2 as transformString, transformTemplate, transformValue, transformValueTypes, turnOffReactEventHandling, unwrapMotionComponent, useActiveTargetCallback, useActiveVariantCallback, useAddVariantProps, useAnimate, useAnimatedState, useAnimatedState as useDeprecatedAnimatedState, useAnimateMini, useAnimation, useAnimationControls, useAnimationFrame, useBreakpointVariants, useComponentViewport, useConstant2 as useConstant, useCurrentPathVariables, useCurrentRoute, useCurrentRouteId, useCustomCursors, useCycle, useDataRecord, useDomEvent, useDragControls, useDynamicRefs, useElementScroll, useForceUpdate, useGamepad, useHotkey, useHydratedBreakpointVariants, useInitialRouteComponent, useInstantLayoutTransition, useInstantTransition, useInvertedScale, useInvertedScale as useDeprecatedInvertedScale, useInView, useIsInCurrentNavigationTarget, useIsomorphicLayoutEffect, useIsOnFramerCanvas, useIsPresent, useIsStaticRenderer, useLoadMorePaginatedQuery, useLoadMorePagination, useLocale, useLocaleCode, useLocaleInfo, useLocalesForCurrentRoute, useLocalizationInfo, useMeasureLayout, useMotionTemplate, useMotionValue, useMotionValueEvent, useNavigate, useNavigation, useObserveData, useOnAppear, useOnCurrentTargetChange, useOnVariantChange, useOverlayState, usePageEffects, usePrefetch, usePreloadQuery, usePresence, usePresenceData, usePrototypeNavigate, useProvidedWindow, useQueryData, useReducedMotion, useReducedMotionConfig, useRenderEnvironment, useResetProjection, useRoute, useRouteAnchor, useRouteElementId, useRouteHandler, useRouter, useScroll, useSiteRefs, useSpring, useTime, useTransform, useUnmountEffect, useVariantState, useVelocity, useViewportScroll, useWillChange, ValueInterpolation, valueToDimensionType, VariantSelector, Vector, VectorGroup, velocityPerSecond, version, vh, ViewTransitionBuilder, VisualElement, visualElementStore, vw, warning, warnOnce, WillChangeMotionValue, WindowContext, withCodeBoundaryForOverrides, withCSS, withFX, withGeneratedLayoutId, withInfiniteScroll, withMappedReactProps, withMeasuredSize, WithNavigator, withOpacity, withOptimizedAppearEffect, WithOverride, withParallaxTransform, withPath, withPerformanceMarks, withShape, withStyleAppearEffect, withV1StrokeFX, withVariantAppearEffect, withVariantFX, wrap,
|
|
46868
|
+
export { _injectRuntime, acceleratedValues2 as acceleratedValues, activeAnimations, addActionControls, addFonts, addPointerEvent, addPointerInfo, addPropertyControls, addScaleCorrector, addUniqueItem, alpha, analyseComplexValue, AnchorLinkTarget, Animatable, animate2 as animate, animateMini, AnimatePresence, AnimateSharedLayout, animateValue, animateView, animateVisualElement, animationControls, animationMapKey, animations, annotateTypeOnStringify, anticipate, AnyInterpolation, applyPxDefaults, AsyncMotionValueAnimation, AutomaticLayoutIds, BackgroundImage, backgroundImageFromProps, backIn, backInOut, backOut, BezierAnimator, BoxShadow, buildTransform2 as buildTransform, calcGeneratorDuration, calcLength, calculateRect, callEach, cancelFrame, cancelMicrotask, cancelSync, ChildrenCanSuspend, circIn, circInOut, circOut, clamp, clampRGB, collectMotionValues, collectVisualStyleFromProps, Color, color, ColorFormat, ColorMixModelType, combinedCSSRulesForPreview, complex, ComponentContainerContext, ComponentPresetsConsumer, ComponentPresetsProvider, ComponentViewportProvider, ConstraintMask, constraintsEnabled, ConstraintValues, Container, ControlType, ConvertColor, convertOffsetToTimes, convertPropsToDeviceOptions, createBox, createData, createFramerPageLink, createGeneratorEasing, createRenderBatcher, createRendererMotionComponent, createScopedAnimate, cssBackgroundSize, cubicBezier, cubicBezierAsString, CustomCursorHost, CustomProperties, cx, CycleVariantState, Data, DataContext, DataObserver, DataObserverContext, debounce, defaultDeviceProps, defaultEasing, defaultOffset, defaultTransformValue, defaultValueTypes, degrees, degreesToRadians, delay, DeprecatedComponentContainer, DeprecatedFrameWithEvents, DeprecatedLayoutGroupContext, DeprecatedLayoutGroupContext as LayoutGroupContext, Device, DeviceCodeComponent, devicePresets, DimensionType, dimensionValueTypes, disableInstantTransitions, dispatchKeyDownEvent, distance, distance2D, DOM, domAnimation, DOMKeyframesResolver, domMax, domMin, DragControls, Draggable, easeIn, easeInOut, easeOut, easingDefinitionToFunction, EmptyState, environment, ErrorPlaceholder, executeInRenderEnvironment, Fetcher, fillOffset, fillWildcards, filterProps, findDimensionValueType, findValueType, finiteNumber, FlatTree, Floating, flushKeyframeResolvers, FontSourceNames, fontStore, forceLayerBackingWithCSSProperties, FormBooleanInput, FormContainer, FormPlainTextInput2 as FormPlainTextInput, FormSelect, fraction, Frame, frame, frameData, frameFromElement, frameFromElements, FramerAnimation, framerAppearAnimationScriptKey, framerAppearEffects, framerAppearIdKey, framerAppearTransformTemplateToken, framerCSSMarker, FramerEvent, FramerEventListener, FramerEventSession, frameSteps, FrameWithMotion, GamepadContext, GeneratedComponentContext, generateLinearEasing, getAnimatableNone2 as getAnimatableNone, getAnimationMap, getComponentSize, getComputedStyle2 as getComputedStyle, getDefaultValueType, getDevicePreset, getEasingForSegment, getFonts, getFontsFromComponentPreset, getFontsFromSharedStyle, getLoadingLazyAtYPosition, getMeasurableCodeComponentChildren, getMixer, getPropertyControls, getValueAsType, getValueTransition, getVariableValue, getWhereExpressionFromPathVariables, GracefullyDegradingErrorBoundary, gradientForShape, GroupAnimation, GroupAnimationWithThen, hasWarned, hex, hover, hsla, hslaToRgba, Image2 as Image, imagePatternPropsForFill, imageUrlForAsset, inertia, inferInitialRouteFromPath, injectComponentCSSRules, installFlexboxGapWorkaroundIfNeeded, InternalID, interpolate, invariant, inView, invisibleValues, isAnimatable2 as isAnimatable, isBezierDefinition, isBrowser, isCSSVariableName, isCSSVariableToken, isDesignDefinition, isDragActive, isDragging, isEasingArray, isEqual, isFiniteNumber, isFractionDimension, isFramerGamepadKeydownData, isFramerPageLink, isGapEnabled, isGenerator, isMotionComponent, isMotionValue2 as isMotionValue, isNodeOrChild, isNumericalString, isOfAnnotatedType, isOverride, isPrimaryPointer, isReactDefinition, isRelativeNumber, isShallowEqualArray, isStaticRenderer, isStraightCurve, isValidMotionProp, isWaapiSupportedEasing, isZeroValueString, JSAnimation, KeyframeResolver, keyframes, Layer, LayoutGroup, LayoutIdContext, lazy, LazyMotion, LazyValue, LibraryFeaturesProvider, Line, LinearGradient, Link, loadFont, loadJSON, localPackageFallbackIdentifier, localShadowFrame, m, MainLoop, makePaddingString, makeUseVisualState, mapEasingToNativeEasing, mapValue, markHydrationStart, maxGeneratorDuration, memo, memoize2 as memoize, microtask, millisecondsToSeconds, mirrorEasing, mix, mixArray, mixColor, mixComplex, mixImmediate, mixLinearColor, mixNumber, mixObject, mixVisibility, modulate, motion, MotionConfig, MotionConfigContext, MotionContext, MotionGlobalConfig, MotionSetup, MotionValue, motionValue, moveItem, namespace_exports as Reorder, NativeAnimation, NativeAnimationExtended, NativeAnimationWrapper, NavigateTo, NavigationCallbackProvider, NavigationConsumer, NavigationTransitionType, NavigationWrapper as Navigation, nestedLinksCollector, noop, NotFoundError, number, numberValueTypes, ObservableObject, observeTimeline, optimizeAppear, optimizeAppearTransformTemplate, optimizedAppearDataAttribute, paddingFromProps, Page3 as Page, PageEffectsProvider, PageRoot, ParentSizeState, parseCSSVariable, parseFramerPageLink, parseValueFromTransform, patchRoutesForABTesting, pathDefaults, PathSegment, PathVariablesContext, percent, pipe, Point, Polygon, positionalKeys, preloadImage, PresenceContext, press, print, progress, progressPercentage, PropertyOverrides2 as PropertyOverrides, PropertyStore, propsForLink, pushLoadMoreHistory, px, QueryCache, QueryEngine, RadialGradient, readTransformValue, recordStats, Rect, removeHiddenBreakpointLayers, removeHiddenBreakpointLayersV2, removeItem, RenderTarget, resolveElements, resolveLink, ResolveLinks, resolveMotionValue, resolvePageScope, reverseEasing, rgba, rgbUnit, RichText2 as RichText, roundedNumber, roundedNumberString, roundWithOffset, safeCSSValue, scale, Scroll, scroll, scrollInfo, secondsToMilliseconds, setDragLock, setGlobalRenderEnvironment, setInitialHydrationState, setStyle, Shadow, sharedSVGManager, shouldOpenLinkInNewTab, Size, SmartComponentScopedContainer, spring, SpringAnimator, SSRVariants, Stack, stagger, startAnimation, startOptimizedAppearAnimation, startWaapiAnimation, statsBuffer, steps, styleEffect, StyleSheetContext, SubscriptionManager, supportedWaapiEasing, supportsBrowserAnimation, supportsFlags, supportsLinearEasing, supportsPartialKeyframes, supportsScrollTimeline, SVG, SwitchLayoutGroupContext, sync, systemFontFamilyName, testValueType, Text2 as Text, throttle, time, toFlexDirection, toJustifyOrAlignment, toSVGPath, transform, transformPropOrder, transformProps, transformString2 as transformString, transformTemplate, transformValue, transformValueTypes, turnOffReactEventHandling, unwrapMotionComponent, useActiveTargetCallback, useActiveVariantCallback, useAddVariantProps, useAnimate, useAnimatedState, useAnimatedState as useDeprecatedAnimatedState, useAnimateMini, useAnimation, useAnimationControls, useAnimationFrame, useBreakpointVariants, useComponentViewport, useConstant2 as useConstant, useCurrentPathVariables, useCurrentRoute, useCurrentRouteId, useCustomCursors, useCycle, useDataRecord, useDomEvent, useDragControls, useDynamicRefs, useElementScroll, useForceUpdate, useGamepad, useHotkey, useHydratedBreakpointVariants, useInitialRouteComponent, useInstantLayoutTransition, useInstantTransition, useInvertedScale, useInvertedScale as useDeprecatedInvertedScale, useInView, useIsInCurrentNavigationTarget, useIsomorphicLayoutEffect, useIsOnFramerCanvas, useIsPresent, useIsStaticRenderer, useLoadMorePaginatedQuery, useLoadMorePagination, useLocale, useLocaleCode, useLocaleInfo, useLocalesForCurrentRoute, useLocalizationInfo, useMeasureLayout, useMotionTemplate, useMotionValue, useMotionValueEvent, useNavigate, useNavigation, useObserveData, useOnAppear, useOnCurrentTargetChange, useOnVariantChange, useOverlayState, usePageEffects, usePrefetch, usePreloadQuery, usePresence, usePresenceData, usePrototypeNavigate, useProvidedWindow, useQueryData, useReducedMotion, useReducedMotionConfig, useRenderEnvironment, useResetProjection, useRoute, useRouteAnchor, useRouteElementId, useRouteHandler, useRouter, useScroll, useSiteRefs, useSpring, useTime, useTransform, useUnmountEffect, useVariantState, useVelocity, useViewportScroll, useWillChange, ValueInterpolation, valueToDimensionType, VariantSelector, Vector, VectorGroup, velocityPerSecond, version, vh, ViewTransitionBuilder, VisualElement, visualElementStore, vw, warning, warnOnce, WillChangeMotionValue, WindowContext, withCodeBoundaryForOverrides, withCSS, withFX, withGeneratedLayoutId, withInfiniteScroll, withMappedReactProps, withMeasuredSize, WithNavigator, withOpacity, withOptimizedAppearEffect, WithOverride, withParallaxTransform, withPath, withPerformanceMarks, withShape, withStyleAppearEffect, withV1StrokeFX, withVariantAppearEffect, withVariantFX, wrap, yieldToMain, };
|
|
46816
46869
|
//! Credit to Astro | MIT License
|
|
46817
46870
|
/**
|
|
46818
46871
|
* @license Emotion v11.0.0
|