305 lines
14 KiB
JavaScript
305 lines
14 KiB
JavaScript
// Module ID: 3921
|
|
// Function ID: 32380
|
|
// Name: CheckpointKnickKnacksRive
|
|
// Dependencies: []
|
|
|
|
// Module 3921 (CheckpointKnickKnacksRive)
|
|
let closure_3 = ["aria-current", "activeClassName", "activeStyle", "className", "exact", "isActive"];
|
|
let closure_4 = importDefault(dependencyMap[0]);
|
|
const importAllResult = importAll(dependencyMap[1]);
|
|
const jsx = arg1(dependencyMap[2]).jsx;
|
|
let closure_7 = { Preview: { ringerMode: "<string:2066808836>", time: "<string:3779571220>" }, Friends: { ringerMode: "<string:2066808836>", time: "<string:3779571220>" }, Globe: { ringerMode: "<string:2066808836>", time: "<string:3779571220>" }, Globe Single Line: {}, Emojis: { ringerMode: "<string:2066808836>", time: "<string:3779571220>" }, Wave Line: { ringerMode: "<string:2066808836>", time: "<string:3779571220>" }, Games: { ringerMode: "<string:2066808836>", time: "<string:3779571220>" }, Voice: { ringerMode: "<string:2066808836>", time: "<string:3779571220>" }, Looping Checkboard: { ringerMode: "<string:2066808836>", time: "<string:3779571220>" }, CheckRow: { ringerMode: "<string:2066808836>", time: "<string:3779571220>" }, Quests: { ringerMode: "<string:2066808836>", time: "<string:3779571220>" }, Entry: { ringerMode: "<string:2066808836>", time: "<string:3779571220>" }, Messages: { ringerMode: "<string:2066808836>", time: "<string:3779571220>" }, Servers: { ringerMode: "<string:2066808836>", time: "<string:3779571220>" } };
|
|
let closure_8 = { Preview: [], Friends: [], Globe: [], Globe Single Line: [], Emojis: [], Wave Line: [], Games: [], Voice: [], Looping Checkboard: [], CheckRow: [], Quests: [], Entry: [], Messages: [], Servers: [] };
|
|
let closure_9 = {
|
|
Preview: function PreviewBindings(reducedMotionEnabled) {
|
|
let dataBinding;
|
|
let instance;
|
|
let onDataBindingChange;
|
|
let playIfNeeded;
|
|
({ instance, dataBinding, onDataBindingChange, playIfNeeded } = reducedMotionEnabled);
|
|
const booleanBinding = arg1(dependencyMap[3]).useBooleanBinding("reducedMotion", instance, reducedMotionEnabled.reducedMotionEnabled, undefined, playIfNeeded);
|
|
const obj = arg1(dependencyMap[3]);
|
|
let iconColor;
|
|
if (null != dataBinding) {
|
|
iconColor = dataBinding.iconColor;
|
|
}
|
|
let iconColor1;
|
|
if (null != onDataBindingChange) {
|
|
iconColor1 = onDataBindingChange.iconColor;
|
|
}
|
|
const colorBinding = arg1(dependencyMap[3]).useColorBinding("iconColor", instance, iconColor, iconColor1, playIfNeeded);
|
|
return null;
|
|
},
|
|
Friends: function FriendsBindings(reducedMotionEnabled) {
|
|
let dataBinding;
|
|
let instance;
|
|
let onDataBindingChange;
|
|
let playIfNeeded;
|
|
({ instance, dataBinding, onDataBindingChange, playIfNeeded } = reducedMotionEnabled);
|
|
const booleanBinding = arg1(dependencyMap[3]).useBooleanBinding("reducedMotion", instance, reducedMotionEnabled.reducedMotionEnabled, undefined, playIfNeeded);
|
|
const obj = arg1(dependencyMap[3]);
|
|
let iconColor;
|
|
if (null != dataBinding) {
|
|
iconColor = dataBinding.iconColor;
|
|
}
|
|
let iconColor1;
|
|
if (null != onDataBindingChange) {
|
|
iconColor1 = onDataBindingChange.iconColor;
|
|
}
|
|
const colorBinding = arg1(dependencyMap[3]).useColorBinding("iconColor", instance, iconColor, iconColor1, playIfNeeded);
|
|
return null;
|
|
},
|
|
Globe: function GlobeBindings(reducedMotionEnabled) {
|
|
let dataBinding;
|
|
let instance;
|
|
let onDataBindingChange;
|
|
let playIfNeeded;
|
|
({ instance, dataBinding, onDataBindingChange, playIfNeeded } = reducedMotionEnabled);
|
|
const booleanBinding = arg1(dependencyMap[3]).useBooleanBinding("reducedMotion", instance, reducedMotionEnabled.reducedMotionEnabled, undefined, playIfNeeded);
|
|
const obj = arg1(dependencyMap[3]);
|
|
let iconColor;
|
|
if (null != dataBinding) {
|
|
iconColor = dataBinding.iconColor;
|
|
}
|
|
let iconColor1;
|
|
if (null != onDataBindingChange) {
|
|
iconColor1 = onDataBindingChange.iconColor;
|
|
}
|
|
const colorBinding = arg1(dependencyMap[3]).useColorBinding("iconColor", instance, iconColor, iconColor1, playIfNeeded);
|
|
return null;
|
|
},
|
|
Emojis: function EmojisBindings(reducedMotionEnabled) {
|
|
let dataBinding;
|
|
let instance;
|
|
let onDataBindingChange;
|
|
let playIfNeeded;
|
|
({ instance, dataBinding, onDataBindingChange, playIfNeeded } = reducedMotionEnabled);
|
|
const booleanBinding = arg1(dependencyMap[3]).useBooleanBinding("reducedMotion", instance, reducedMotionEnabled.reducedMotionEnabled, undefined, playIfNeeded);
|
|
const obj = arg1(dependencyMap[3]);
|
|
let iconColor;
|
|
if (null != dataBinding) {
|
|
iconColor = dataBinding.iconColor;
|
|
}
|
|
let iconColor1;
|
|
if (null != onDataBindingChange) {
|
|
iconColor1 = onDataBindingChange.iconColor;
|
|
}
|
|
const colorBinding = arg1(dependencyMap[3]).useColorBinding("iconColor", instance, iconColor, iconColor1, playIfNeeded);
|
|
return null;
|
|
},
|
|
Wave Line: function WaveLineBindings(reducedMotionEnabled) {
|
|
let dataBinding;
|
|
let instance;
|
|
let onDataBindingChange;
|
|
let playIfNeeded;
|
|
({ instance, dataBinding, onDataBindingChange, playIfNeeded } = reducedMotionEnabled);
|
|
const booleanBinding = arg1(dependencyMap[3]).useBooleanBinding("reducedMotion", instance, reducedMotionEnabled.reducedMotionEnabled, undefined, playIfNeeded);
|
|
const obj = arg1(dependencyMap[3]);
|
|
let iconColor;
|
|
if (null != dataBinding) {
|
|
iconColor = dataBinding.iconColor;
|
|
}
|
|
let iconColor1;
|
|
if (null != onDataBindingChange) {
|
|
iconColor1 = onDataBindingChange.iconColor;
|
|
}
|
|
const colorBinding = arg1(dependencyMap[3]).useColorBinding("iconColor", instance, iconColor, iconColor1, playIfNeeded);
|
|
return null;
|
|
},
|
|
Games: function GamesBindings(reducedMotionEnabled) {
|
|
let dataBinding;
|
|
let instance;
|
|
let onDataBindingChange;
|
|
let playIfNeeded;
|
|
({ instance, dataBinding, onDataBindingChange, playIfNeeded } = reducedMotionEnabled);
|
|
const booleanBinding = arg1(dependencyMap[3]).useBooleanBinding("reducedMotion", instance, reducedMotionEnabled.reducedMotionEnabled, undefined, playIfNeeded);
|
|
const obj = arg1(dependencyMap[3]);
|
|
let iconColor;
|
|
if (null != dataBinding) {
|
|
iconColor = dataBinding.iconColor;
|
|
}
|
|
let iconColor1;
|
|
if (null != onDataBindingChange) {
|
|
iconColor1 = onDataBindingChange.iconColor;
|
|
}
|
|
const colorBinding = arg1(dependencyMap[3]).useColorBinding("iconColor", instance, iconColor, iconColor1, playIfNeeded);
|
|
return null;
|
|
},
|
|
Voice: function VoiceBindings(reducedMotionEnabled) {
|
|
let dataBinding;
|
|
let instance;
|
|
let onDataBindingChange;
|
|
let playIfNeeded;
|
|
({ instance, dataBinding, onDataBindingChange, playIfNeeded } = reducedMotionEnabled);
|
|
const booleanBinding = arg1(dependencyMap[3]).useBooleanBinding("reducedMotion", instance, reducedMotionEnabled.reducedMotionEnabled, undefined, playIfNeeded);
|
|
const obj = arg1(dependencyMap[3]);
|
|
let iconColor;
|
|
if (null != dataBinding) {
|
|
iconColor = dataBinding.iconColor;
|
|
}
|
|
let iconColor1;
|
|
if (null != onDataBindingChange) {
|
|
iconColor1 = onDataBindingChange.iconColor;
|
|
}
|
|
const colorBinding = arg1(dependencyMap[3]).useColorBinding("iconColor", instance, iconColor, iconColor1, playIfNeeded);
|
|
return null;
|
|
},
|
|
Looping Checkboard: function LoopingCheckboardBindings(reducedMotionEnabled) {
|
|
let dataBinding;
|
|
let instance;
|
|
let onDataBindingChange;
|
|
let playIfNeeded;
|
|
({ instance, dataBinding, onDataBindingChange, playIfNeeded } = reducedMotionEnabled);
|
|
const booleanBinding = arg1(dependencyMap[3]).useBooleanBinding("reducedMotion", instance, reducedMotionEnabled.reducedMotionEnabled, undefined, playIfNeeded);
|
|
const obj = arg1(dependencyMap[3]);
|
|
let iconColor;
|
|
if (null != dataBinding) {
|
|
iconColor = dataBinding.iconColor;
|
|
}
|
|
let iconColor1;
|
|
if (null != onDataBindingChange) {
|
|
iconColor1 = onDataBindingChange.iconColor;
|
|
}
|
|
const colorBinding = arg1(dependencyMap[3]).useColorBinding("iconColor", instance, iconColor, iconColor1, playIfNeeded);
|
|
return null;
|
|
},
|
|
CheckRow: function CheckRowBindings(reducedMotionEnabled) {
|
|
let dataBinding;
|
|
let instance;
|
|
let onDataBindingChange;
|
|
let playIfNeeded;
|
|
({ instance, dataBinding, onDataBindingChange, playIfNeeded } = reducedMotionEnabled);
|
|
const booleanBinding = arg1(dependencyMap[3]).useBooleanBinding("reducedMotion", instance, reducedMotionEnabled.reducedMotionEnabled, undefined, playIfNeeded);
|
|
const obj = arg1(dependencyMap[3]);
|
|
let iconColor;
|
|
if (null != dataBinding) {
|
|
iconColor = dataBinding.iconColor;
|
|
}
|
|
let iconColor1;
|
|
if (null != onDataBindingChange) {
|
|
iconColor1 = onDataBindingChange.iconColor;
|
|
}
|
|
const colorBinding = arg1(dependencyMap[3]).useColorBinding("iconColor", instance, iconColor, iconColor1, playIfNeeded);
|
|
return null;
|
|
},
|
|
Quests: function QuestsBindings(reducedMotionEnabled) {
|
|
let dataBinding;
|
|
let instance;
|
|
let onDataBindingChange;
|
|
let playIfNeeded;
|
|
({ instance, dataBinding, onDataBindingChange, playIfNeeded } = reducedMotionEnabled);
|
|
const booleanBinding = arg1(dependencyMap[3]).useBooleanBinding("reducedMotion", instance, reducedMotionEnabled.reducedMotionEnabled, undefined, playIfNeeded);
|
|
const obj = arg1(dependencyMap[3]);
|
|
let iconColor;
|
|
if (null != dataBinding) {
|
|
iconColor = dataBinding.iconColor;
|
|
}
|
|
let iconColor1;
|
|
if (null != onDataBindingChange) {
|
|
iconColor1 = onDataBindingChange.iconColor;
|
|
}
|
|
const colorBinding = arg1(dependencyMap[3]).useColorBinding("iconColor", instance, iconColor, iconColor1, playIfNeeded);
|
|
return null;
|
|
},
|
|
Entry: function EntryBindings(reducedMotionEnabled) {
|
|
let dataBinding;
|
|
let instance;
|
|
let onDataBindingChange;
|
|
let playIfNeeded;
|
|
({ instance, dataBinding, onDataBindingChange, playIfNeeded } = reducedMotionEnabled);
|
|
const booleanBinding = arg1(dependencyMap[3]).useBooleanBinding("reducedMotion", instance, reducedMotionEnabled.reducedMotionEnabled, undefined, playIfNeeded);
|
|
const obj = arg1(dependencyMap[3]);
|
|
let iconColor;
|
|
if (null != dataBinding) {
|
|
iconColor = dataBinding.iconColor;
|
|
}
|
|
let iconColor1;
|
|
if (null != onDataBindingChange) {
|
|
iconColor1 = onDataBindingChange.iconColor;
|
|
}
|
|
const colorBinding = arg1(dependencyMap[3]).useColorBinding("iconColor", instance, iconColor, iconColor1, playIfNeeded);
|
|
return null;
|
|
},
|
|
Messages: function MessagesBindings(reducedMotionEnabled) {
|
|
let dataBinding;
|
|
let instance;
|
|
let onDataBindingChange;
|
|
let playIfNeeded;
|
|
({ instance, dataBinding, onDataBindingChange, playIfNeeded } = reducedMotionEnabled);
|
|
const booleanBinding = arg1(dependencyMap[3]).useBooleanBinding("reducedMotion", instance, reducedMotionEnabled.reducedMotionEnabled, undefined, playIfNeeded);
|
|
const obj = arg1(dependencyMap[3]);
|
|
let iconColor;
|
|
if (null != dataBinding) {
|
|
iconColor = dataBinding.iconColor;
|
|
}
|
|
let iconColor1;
|
|
if (null != onDataBindingChange) {
|
|
iconColor1 = onDataBindingChange.iconColor;
|
|
}
|
|
const colorBinding = arg1(dependencyMap[3]).useColorBinding("iconColor", instance, iconColor, iconColor1, playIfNeeded);
|
|
return null;
|
|
},
|
|
Servers: function ServersBindings(reducedMotionEnabled) {
|
|
let dataBinding;
|
|
let instance;
|
|
let onDataBindingChange;
|
|
let playIfNeeded;
|
|
({ instance, dataBinding, onDataBindingChange, playIfNeeded } = reducedMotionEnabled);
|
|
const booleanBinding = arg1(dependencyMap[3]).useBooleanBinding("reducedMotion", instance, reducedMotionEnabled.reducedMotionEnabled, undefined, playIfNeeded);
|
|
const obj = arg1(dependencyMap[3]);
|
|
let iconColor;
|
|
if (null != dataBinding) {
|
|
iconColor = dataBinding.iconColor;
|
|
}
|
|
let iconColor1;
|
|
if (null != onDataBindingChange) {
|
|
iconColor1 = onDataBindingChange.iconColor;
|
|
}
|
|
const colorBinding = arg1(dependencyMap[3]).useColorBinding("iconColor", instance, iconColor, iconColor1, playIfNeeded);
|
|
return null;
|
|
}
|
|
};
|
|
let closure_10 = importAllResult.forwardRef(function CheckpointKnickKnacksRiveInner(defaultViewModelInstance, ref) {
|
|
let artboard;
|
|
let fallback;
|
|
({ fallback, artboard } = defaultViewModelInstance);
|
|
let str = "Preview";
|
|
if (undefined !== artboard) {
|
|
str = artboard;
|
|
}
|
|
ref = str;
|
|
defaultViewModelInstance = defaultViewModelInstance.defaultViewModelInstance;
|
|
let str2 = "Pink";
|
|
if (undefined !== defaultViewModelInstance) {
|
|
str2 = defaultViewModelInstance;
|
|
}
|
|
const dataBinding = defaultViewModelInstance.dataBinding;
|
|
const importDefault = dataBinding;
|
|
const onDataBindingChange = defaultViewModelInstance.onDataBindingChange;
|
|
const dependencyMap = onDataBindingChange;
|
|
const items = [str, dataBinding, onDataBindingChange];
|
|
const callback = importAllResult.useCallback((arg0) => {
|
|
let tmp2 = null;
|
|
if (null != closure_9[closure_0]) {
|
|
const obj = {};
|
|
const merged = Object.assign(arg0);
|
|
obj["dataBinding"] = dataBinding;
|
|
obj["onDataBindingChange"] = onDataBindingChange;
|
|
tmp2 = callback(tmp, obj);
|
|
}
|
|
return tmp2;
|
|
}, items);
|
|
const obj = { ref, src: importDefault(dependencyMap[4]), artboard: str, artboardProperties: closure_7, artboardViewModelInstances: closure_8, defaultViewModelInstance: str2, stateMachine: defaultViewModelInstance.stateMachine, renderDataBinding: callback };
|
|
const merged = Object.assign(callback(defaultViewModelInstance, closure_3));
|
|
return jsx(ref(dependencyMap[3]).BaseRive, obj);
|
|
});
|
|
const forwardRefResult = importAllResult.forwardRef(function CheckpointKnickKnacksRiveWithBoundary(fallback, ref) {
|
|
let obj = { fallback: fallback.fallback };
|
|
obj = { ref };
|
|
const merged = Object.assign(fallback);
|
|
obj.children = <closure_10 {...obj} />;
|
|
return jsx(ref(dependencyMap[5]).RiveErrorBoundary, obj);
|
|
});
|
|
const result = arg1(dependencyMap[6]).fileFinishedImporting("../discord_common/js/packages/design/components/Rive/native/generated/CheckpointKnickKnacksRive.tsx");
|
|
|
|
export const CheckpointKnickKnacksRive = forwardRefResult;
|