Edit File by line
/home/barbar84/www/wp-inclu.../js/dist
File: components.js
[15000] Fix | Delete
var LINE_HEIGHT = 40;
[15001] Fix | Delete
var PAGE_HEIGHT = 800;
[15002] Fix | Delete
/**
[15003] Fix | Delete
* Gets wheel event values.
[15004] Fix | Delete
* @param event
[15005] Fix | Delete
* @returns wheel event values
[15006] Fix | Delete
*/
[15007] Fix | Delete
[15008] Fix | Delete
function getWheelEventValues(event, transform) {
[15009] Fix | Delete
if (transform === void 0) {
[15010] Fix | Delete
transform = identity;
[15011] Fix | Delete
}
[15012] Fix | Delete
[15013] Fix | Delete
var deltaX = event.deltaX,
[15014] Fix | Delete
deltaY = event.deltaY,
[15015] Fix | Delete
deltaMode = event.deltaMode; // normalize wheel values, especially for Firefox
[15016] Fix | Delete
[15017] Fix | Delete
if (deltaMode === 1) {
[15018] Fix | Delete
deltaX *= LINE_HEIGHT;
[15019] Fix | Delete
deltaY *= LINE_HEIGHT;
[15020] Fix | Delete
} else if (deltaMode === 2) {
[15021] Fix | Delete
deltaX *= PAGE_HEIGHT;
[15022] Fix | Delete
deltaY *= PAGE_HEIGHT;
[15023] Fix | Delete
}
[15024] Fix | Delete
[15025] Fix | Delete
return transform([deltaX, deltaY]);
[15026] Fix | Delete
}
[15027] Fix | Delete
/**
[15028] Fix | Delete
* Gets webkit gesture event values.
[15029] Fix | Delete
* @param event
[15030] Fix | Delete
* @returns webkit gesture event values
[15031] Fix | Delete
*/
[15032] Fix | Delete
[15033] Fix | Delete
function getWebkitGestureEventValues(event, transform) {
[15034] Fix | Delete
if (transform === void 0) {
[15035] Fix | Delete
transform = identity;
[15036] Fix | Delete
}
[15037] Fix | Delete
[15038] Fix | Delete
return transform([event.scale, event.rotation]);
[15039] Fix | Delete
}
[15040] Fix | Delete
[15041] Fix | Delete
var DEFAULT_DRAG_DELAY = 180;
[15042] Fix | Delete
var DEFAULT_RUBBERBAND = 0.15;
[15043] Fix | Delete
var DEFAULT_SWIPE_VELOCITY = 0.5;
[15044] Fix | Delete
var DEFAULT_SWIPE_DISTANCE = 50;
[15045] Fix | Delete
var DEFAULT_SWIPE_DURATION = 250;
[15046] Fix | Delete
var InternalGestureOptionsNormalizers = {
[15047] Fix | Delete
threshold: function threshold(value) {
[15048] Fix | Delete
if (value === void 0) {
[15049] Fix | Delete
value = 0;
[15050] Fix | Delete
}
[15051] Fix | Delete
[15052] Fix | Delete
return ensureVector(value);
[15053] Fix | Delete
},
[15054] Fix | Delete
rubberband: function rubberband(value) {
[15055] Fix | Delete
if (value === void 0) {
[15056] Fix | Delete
value = 0;
[15057] Fix | Delete
}
[15058] Fix | Delete
[15059] Fix | Delete
switch (value) {
[15060] Fix | Delete
case true:
[15061] Fix | Delete
return ensureVector(DEFAULT_RUBBERBAND);
[15062] Fix | Delete
[15063] Fix | Delete
case false:
[15064] Fix | Delete
return ensureVector(0);
[15065] Fix | Delete
[15066] Fix | Delete
default:
[15067] Fix | Delete
return ensureVector(value);
[15068] Fix | Delete
}
[15069] Fix | Delete
},
[15070] Fix | Delete
enabled: function enabled(value) {
[15071] Fix | Delete
if (value === void 0) {
[15072] Fix | Delete
value = true;
[15073] Fix | Delete
}
[15074] Fix | Delete
[15075] Fix | Delete
return value;
[15076] Fix | Delete
},
[15077] Fix | Delete
triggerAllEvents: function triggerAllEvents(value) {
[15078] Fix | Delete
if (value === void 0) {
[15079] Fix | Delete
value = false;
[15080] Fix | Delete
}
[15081] Fix | Delete
[15082] Fix | Delete
return value;
[15083] Fix | Delete
},
[15084] Fix | Delete
initial: function initial(value) {
[15085] Fix | Delete
if (value === void 0) {
[15086] Fix | Delete
value = 0;
[15087] Fix | Delete
}
[15088] Fix | Delete
[15089] Fix | Delete
if (typeof value === 'function') return value;
[15090] Fix | Delete
return ensureVector(value);
[15091] Fix | Delete
},
[15092] Fix | Delete
transform: true
[15093] Fix | Delete
};
[15094] Fix | Delete
[15095] Fix | Delete
var InternalCoordinatesOptionsNormalizers = /*#__PURE__*/_extends({}, InternalGestureOptionsNormalizers, {
[15096] Fix | Delete
axis: true,
[15097] Fix | Delete
lockDirection: function lockDirection(value) {
[15098] Fix | Delete
if (value === void 0) {
[15099] Fix | Delete
value = false;
[15100] Fix | Delete
}
[15101] Fix | Delete
[15102] Fix | Delete
return value;
[15103] Fix | Delete
},
[15104] Fix | Delete
bounds: function bounds(value) {
[15105] Fix | Delete
if (value === void 0) {
[15106] Fix | Delete
value = {};
[15107] Fix | Delete
}
[15108] Fix | Delete
[15109] Fix | Delete
if (typeof value === 'function') return function (state) {
[15110] Fix | Delete
return InternalCoordinatesOptionsNormalizers.bounds(value(state));
[15111] Fix | Delete
};
[15112] Fix | Delete
var _value2 = value,
[15113] Fix | Delete
_value2$left = _value2.left,
[15114] Fix | Delete
left = _value2$left === void 0 ? -Infinity : _value2$left,
[15115] Fix | Delete
_value2$right = _value2.right,
[15116] Fix | Delete
right = _value2$right === void 0 ? Infinity : _value2$right,
[15117] Fix | Delete
_value2$top = _value2.top,
[15118] Fix | Delete
top = _value2$top === void 0 ? -Infinity : _value2$top,
[15119] Fix | Delete
_value2$bottom = _value2.bottom,
[15120] Fix | Delete
bottom = _value2$bottom === void 0 ? Infinity : _value2$bottom;
[15121] Fix | Delete
return [[left, right], [top, bottom]];
[15122] Fix | Delete
}
[15123] Fix | Delete
});
[15124] Fix | Delete
[15125] Fix | Delete
var isBrowser = typeof window !== 'undefined' && window.document && window.document.createElement;
[15126] Fix | Delete
var InternalGenericOptionsNormalizers = {
[15127] Fix | Delete
enabled: function enabled(value) {
[15128] Fix | Delete
if (value === void 0) {
[15129] Fix | Delete
value = true;
[15130] Fix | Delete
}
[15131] Fix | Delete
[15132] Fix | Delete
return value;
[15133] Fix | Delete
},
[15134] Fix | Delete
domTarget: true,
[15135] Fix | Delete
window: /*#__PURE__*/function (_window) {
[15136] Fix | Delete
function window(_x) {
[15137] Fix | Delete
return _window.apply(this, arguments);
[15138] Fix | Delete
}
[15139] Fix | Delete
[15140] Fix | Delete
window.toString = function () {
[15141] Fix | Delete
return _window.toString();
[15142] Fix | Delete
};
[15143] Fix | Delete
[15144] Fix | Delete
return window;
[15145] Fix | Delete
}(function (value) {
[15146] Fix | Delete
if (value === void 0) {
[15147] Fix | Delete
value = isBrowser ? window : undefined;
[15148] Fix | Delete
}
[15149] Fix | Delete
[15150] Fix | Delete
return value;
[15151] Fix | Delete
}),
[15152] Fix | Delete
eventOptions: function eventOptions(_temp) {
[15153] Fix | Delete
var _ref = _temp === void 0 ? {} : _temp,
[15154] Fix | Delete
_ref$passive = _ref.passive,
[15155] Fix | Delete
passive = _ref$passive === void 0 ? true : _ref$passive,
[15156] Fix | Delete
_ref$capture = _ref.capture,
[15157] Fix | Delete
capture = _ref$capture === void 0 ? false : _ref$capture;
[15158] Fix | Delete
[15159] Fix | Delete
return {
[15160] Fix | Delete
passive: passive,
[15161] Fix | Delete
capture: capture
[15162] Fix | Delete
};
[15163] Fix | Delete
},
[15164] Fix | Delete
transform: true
[15165] Fix | Delete
};
[15166] Fix | Delete
[15167] Fix | Delete
var InternalDistanceAngleOptionsNormalizers = /*#__PURE__*/_extends({}, InternalGestureOptionsNormalizers, {
[15168] Fix | Delete
bounds: function bounds(_value, _key, _ref2) {
[15169] Fix | Delete
var _ref2$distanceBounds = _ref2.distanceBounds,
[15170] Fix | Delete
distanceBounds = _ref2$distanceBounds === void 0 ? {} : _ref2$distanceBounds,
[15171] Fix | Delete
_ref2$angleBounds = _ref2.angleBounds,
[15172] Fix | Delete
angleBounds = _ref2$angleBounds === void 0 ? {} : _ref2$angleBounds;
[15173] Fix | Delete
[15174] Fix | Delete
var _distanceBounds = function _distanceBounds(state) {
[15175] Fix | Delete
var D = assignDefault(valueFn(distanceBounds, state), {
[15176] Fix | Delete
min: -Infinity,
[15177] Fix | Delete
max: Infinity
[15178] Fix | Delete
});
[15179] Fix | Delete
return [D.min, D.max];
[15180] Fix | Delete
};
[15181] Fix | Delete
[15182] Fix | Delete
var _angleBounds = function _angleBounds(state) {
[15183] Fix | Delete
var A = assignDefault(valueFn(angleBounds, state), {
[15184] Fix | Delete
min: -Infinity,
[15185] Fix | Delete
max: Infinity
[15186] Fix | Delete
});
[15187] Fix | Delete
return [A.min, A.max];
[15188] Fix | Delete
};
[15189] Fix | Delete
[15190] Fix | Delete
if (typeof distanceBounds !== 'function' && typeof angleBounds !== 'function') return [_distanceBounds(), _angleBounds()];
[15191] Fix | Delete
return function (state) {
[15192] Fix | Delete
return [_distanceBounds(state), _angleBounds(state)];
[15193] Fix | Delete
};
[15194] Fix | Delete
}
[15195] Fix | Delete
});
[15196] Fix | Delete
[15197] Fix | Delete
var InternalDragOptionsNormalizers = /*#__PURE__*/_extends({}, InternalCoordinatesOptionsNormalizers, {
[15198] Fix | Delete
useTouch: function useTouch(value) {
[15199] Fix | Delete
if (value === void 0) {
[15200] Fix | Delete
value = false;
[15201] Fix | Delete
}
[15202] Fix | Delete
[15203] Fix | Delete
var supportsTouch = supportsTouchEvents();
[15204] Fix | Delete
var supportsPointer = supportsPointerEvents();
[15205] Fix | Delete
if (value && supportsTouch) return true;
[15206] Fix | Delete
if (supportsTouch && !supportsPointer) return true;
[15207] Fix | Delete
return false;
[15208] Fix | Delete
},
[15209] Fix | Delete
experimental_preventWindowScrollY: function experimental_preventWindowScrollY(value) {
[15210] Fix | Delete
if (value === void 0) {
[15211] Fix | Delete
value = false;
[15212] Fix | Delete
}
[15213] Fix | Delete
[15214] Fix | Delete
return value;
[15215] Fix | Delete
},
[15216] Fix | Delete
threshold: function threshold(v, _k, _ref3) {
[15217] Fix | Delete
var _ref3$filterTaps = _ref3.filterTaps,
[15218] Fix | Delete
filterTaps = _ref3$filterTaps === void 0 ? false : _ref3$filterTaps,
[15219] Fix | Delete
_ref3$lockDirection = _ref3.lockDirection,
[15220] Fix | Delete
lockDirection = _ref3$lockDirection === void 0 ? false : _ref3$lockDirection,
[15221] Fix | Delete
_ref3$axis = _ref3.axis,
[15222] Fix | Delete
axis = _ref3$axis === void 0 ? undefined : _ref3$axis;
[15223] Fix | Delete
var A = ensureVector(v, filterTaps ? 3 : lockDirection ? 1 : axis ? 1 : 0);
[15224] Fix | Delete
this.filterTaps = filterTaps;
[15225] Fix | Delete
return A;
[15226] Fix | Delete
},
[15227] Fix | Delete
swipeVelocity: function swipeVelocity(v) {
[15228] Fix | Delete
if (v === void 0) {
[15229] Fix | Delete
v = DEFAULT_SWIPE_VELOCITY;
[15230] Fix | Delete
}
[15231] Fix | Delete
[15232] Fix | Delete
return ensureVector(v);
[15233] Fix | Delete
},
[15234] Fix | Delete
swipeDistance: function swipeDistance(v) {
[15235] Fix | Delete
if (v === void 0) {
[15236] Fix | Delete
v = DEFAULT_SWIPE_DISTANCE;
[15237] Fix | Delete
}
[15238] Fix | Delete
[15239] Fix | Delete
return ensureVector(v);
[15240] Fix | Delete
},
[15241] Fix | Delete
swipeDuration: function swipeDuration(value) {
[15242] Fix | Delete
if (value === void 0) {
[15243] Fix | Delete
value = DEFAULT_SWIPE_DURATION;
[15244] Fix | Delete
}
[15245] Fix | Delete
[15246] Fix | Delete
return value;
[15247] Fix | Delete
},
[15248] Fix | Delete
delay: function delay(value) {
[15249] Fix | Delete
if (value === void 0) {
[15250] Fix | Delete
value = 0;
[15251] Fix | Delete
}
[15252] Fix | Delete
[15253] Fix | Delete
switch (value) {
[15254] Fix | Delete
case true:
[15255] Fix | Delete
return DEFAULT_DRAG_DELAY;
[15256] Fix | Delete
[15257] Fix | Delete
case false:
[15258] Fix | Delete
return 0;
[15259] Fix | Delete
[15260] Fix | Delete
default:
[15261] Fix | Delete
return value;
[15262] Fix | Delete
}
[15263] Fix | Delete
}
[15264] Fix | Delete
});
[15265] Fix | Delete
[15266] Fix | Delete
function getInternalGenericOptions(config) {
[15267] Fix | Delete
if (config === void 0) {
[15268] Fix | Delete
config = {};
[15269] Fix | Delete
}
[15270] Fix | Delete
[15271] Fix | Delete
// TODO warn when passive is set to true and domTarget is undefined
[15272] Fix | Delete
return resolveWith(config, InternalGenericOptionsNormalizers);
[15273] Fix | Delete
}
[15274] Fix | Delete
function getInternalCoordinatesOptions(config) {
[15275] Fix | Delete
if (config === void 0) {
[15276] Fix | Delete
config = {};
[15277] Fix | Delete
}
[15278] Fix | Delete
[15279] Fix | Delete
return resolveWith(config, InternalCoordinatesOptionsNormalizers);
[15280] Fix | Delete
}
[15281] Fix | Delete
function getInternalDistanceAngleOptions(config) {
[15282] Fix | Delete
if (config === void 0) {
[15283] Fix | Delete
config = {};
[15284] Fix | Delete
}
[15285] Fix | Delete
[15286] Fix | Delete
return resolveWith(config, InternalDistanceAngleOptionsNormalizers);
[15287] Fix | Delete
}
[15288] Fix | Delete
function getInternalDragOptions(config) {
[15289] Fix | Delete
if (config === void 0) {
[15290] Fix | Delete
config = {};
[15291] Fix | Delete
}
[15292] Fix | Delete
[15293] Fix | Delete
return resolveWith(config, InternalDragOptionsNormalizers);
[15294] Fix | Delete
}
[15295] Fix | Delete
[15296] Fix | Delete
function _buildMoveConfig(_ref) {
[15297] Fix | Delete
var domTarget = _ref.domTarget,
[15298] Fix | Delete
eventOptions = _ref.eventOptions,
[15299] Fix | Delete
window = _ref.window,
[15300] Fix | Delete
enabled = _ref.enabled,
[15301] Fix | Delete
rest = _objectWithoutPropertiesLoose(_ref, ["domTarget", "eventOptions", "window", "enabled"]);
[15302] Fix | Delete
[15303] Fix | Delete
var opts = getInternalGenericOptions({
[15304] Fix | Delete
domTarget: domTarget,
[15305] Fix | Delete
eventOptions: eventOptions,
[15306] Fix | Delete
window: window,
[15307] Fix | Delete
enabled: enabled
[15308] Fix | Delete
});
[15309] Fix | Delete
opts.move = getInternalCoordinatesOptions(rest);
[15310] Fix | Delete
return opts;
[15311] Fix | Delete
}
[15312] Fix | Delete
function _buildHoverConfig(_ref2) {
[15313] Fix | Delete
var domTarget = _ref2.domTarget,
[15314] Fix | Delete
eventOptions = _ref2.eventOptions,
[15315] Fix | Delete
window = _ref2.window,
[15316] Fix | Delete
enabled = _ref2.enabled,
[15317] Fix | Delete
rest = _objectWithoutPropertiesLoose(_ref2, ["domTarget", "eventOptions", "window", "enabled"]);
[15318] Fix | Delete
[15319] Fix | Delete
var opts = getInternalGenericOptions({
[15320] Fix | Delete
domTarget: domTarget,
[15321] Fix | Delete
eventOptions: eventOptions,
[15322] Fix | Delete
window: window,
[15323] Fix | Delete
enabled: enabled
[15324] Fix | Delete
});
[15325] Fix | Delete
opts.hover = _extends({
[15326] Fix | Delete
enabled: true
[15327] Fix | Delete
}, rest);
[15328] Fix | Delete
return opts;
[15329] Fix | Delete
}
[15330] Fix | Delete
function _buildDragConfig(_ref3) {
[15331] Fix | Delete
var domTarget = _ref3.domTarget,
[15332] Fix | Delete
eventOptions = _ref3.eventOptions,
[15333] Fix | Delete
window = _ref3.window,
[15334] Fix | Delete
enabled = _ref3.enabled,
[15335] Fix | Delete
rest = _objectWithoutPropertiesLoose(_ref3, ["domTarget", "eventOptions", "window", "enabled"]);
[15336] Fix | Delete
[15337] Fix | Delete
var opts = getInternalGenericOptions({
[15338] Fix | Delete
domTarget: domTarget,
[15339] Fix | Delete
eventOptions: eventOptions,
[15340] Fix | Delete
window: window,
[15341] Fix | Delete
enabled: enabled
[15342] Fix | Delete
});
[15343] Fix | Delete
opts.drag = getInternalDragOptions(rest);
[15344] Fix | Delete
return opts;
[15345] Fix | Delete
}
[15346] Fix | Delete
function _buildPinchConfig(_ref4) {
[15347] Fix | Delete
var domTarget = _ref4.domTarget,
[15348] Fix | Delete
eventOptions = _ref4.eventOptions,
[15349] Fix | Delete
window = _ref4.window,
[15350] Fix | Delete
enabled = _ref4.enabled,
[15351] Fix | Delete
rest = _objectWithoutPropertiesLoose(_ref4, ["domTarget", "eventOptions", "window", "enabled"]);
[15352] Fix | Delete
[15353] Fix | Delete
var opts = getInternalGenericOptions({
[15354] Fix | Delete
domTarget: domTarget,
[15355] Fix | Delete
eventOptions: eventOptions,
[15356] Fix | Delete
window: window,
[15357] Fix | Delete
enabled: enabled
[15358] Fix | Delete
});
[15359] Fix | Delete
opts.pinch = getInternalDistanceAngleOptions(rest);
[15360] Fix | Delete
return opts;
[15361] Fix | Delete
}
[15362] Fix | Delete
function _buildScrollConfig(_ref5) {
[15363] Fix | Delete
var domTarget = _ref5.domTarget,
[15364] Fix | Delete
eventOptions = _ref5.eventOptions,
[15365] Fix | Delete
window = _ref5.window,
[15366] Fix | Delete
enabled = _ref5.enabled,
[15367] Fix | Delete
rest = _objectWithoutPropertiesLoose(_ref5, ["domTarget", "eventOptions", "window", "enabled"]);
[15368] Fix | Delete
[15369] Fix | Delete
var opts = getInternalGenericOptions({
[15370] Fix | Delete
domTarget: domTarget,
[15371] Fix | Delete
eventOptions: eventOptions,
[15372] Fix | Delete
window: window,
[15373] Fix | Delete
enabled: enabled
[15374] Fix | Delete
});
[15375] Fix | Delete
opts.scroll = getInternalCoordinatesOptions(rest);
[15376] Fix | Delete
return opts;
[15377] Fix | Delete
}
[15378] Fix | Delete
function _buildWheelConfig(_ref6) {
[15379] Fix | Delete
var domTarget = _ref6.domTarget,
[15380] Fix | Delete
eventOptions = _ref6.eventOptions,
[15381] Fix | Delete
window = _ref6.window,
[15382] Fix | Delete
enabled = _ref6.enabled,
[15383] Fix | Delete
rest = _objectWithoutPropertiesLoose(_ref6, ["domTarget", "eventOptions", "window", "enabled"]);
[15384] Fix | Delete
[15385] Fix | Delete
var opts = getInternalGenericOptions({
[15386] Fix | Delete
domTarget: domTarget,
[15387] Fix | Delete
eventOptions: eventOptions,
[15388] Fix | Delete
window: window,
[15389] Fix | Delete
enabled: enabled
[15390] Fix | Delete
});
[15391] Fix | Delete
opts.wheel = getInternalCoordinatesOptions(rest);
[15392] Fix | Delete
return opts;
[15393] Fix | Delete
}
[15394] Fix | Delete
function buildComplexConfig(config, actions) {
[15395] Fix | Delete
if (config === void 0) {
[15396] Fix | Delete
config = {};
[15397] Fix | Delete
}
[15398] Fix | Delete
[15399] Fix | Delete
if (actions === void 0) {
[15400] Fix | Delete
actions = new Set();
[15401] Fix | Delete
}
[15402] Fix | Delete
[15403] Fix | Delete
var _config = config,
[15404] Fix | Delete
drag = _config.drag,
[15405] Fix | Delete
wheel = _config.wheel,
[15406] Fix | Delete
move = _config.move,
[15407] Fix | Delete
scroll = _config.scroll,
[15408] Fix | Delete
pinch = _config.pinch,
[15409] Fix | Delete
hover = _config.hover,
[15410] Fix | Delete
eventOptions = _config.eventOptions,
[15411] Fix | Delete
window = _config.window,
[15412] Fix | Delete
transform = _config.transform,
[15413] Fix | Delete
domTarget = _config.domTarget,
[15414] Fix | Delete
enabled = _config.enabled;
[15415] Fix | Delete
var mergedConfig = getInternalGenericOptions({
[15416] Fix | Delete
domTarget: domTarget,
[15417] Fix | Delete
eventOptions: eventOptions,
[15418] Fix | Delete
transform: transform,
[15419] Fix | Delete
window: window,
[15420] Fix | Delete
enabled: enabled
[15421] Fix | Delete
});
[15422] Fix | Delete
if (actions.has('onDrag')) mergedConfig.drag = getInternalDragOptions(drag);
[15423] Fix | Delete
if (actions.has('onWheel')) mergedConfig.wheel = getInternalCoordinatesOptions(wheel);
[15424] Fix | Delete
if (actions.has('onScroll')) mergedConfig.scroll = getInternalCoordinatesOptions(scroll);
[15425] Fix | Delete
if (actions.has('onMove')) mergedConfig.move = getInternalCoordinatesOptions(move);
[15426] Fix | Delete
if (actions.has('onPinch')) mergedConfig.pinch = getInternalDistanceAngleOptions(pinch);
[15427] Fix | Delete
if (actions.has('onHover')) mergedConfig.hover = _extends({
[15428] Fix | Delete
enabled: true
[15429] Fix | Delete
}, hover);
[15430] Fix | Delete
return mergedConfig;
[15431] Fix | Delete
}
[15432] Fix | Delete
[15433] Fix | Delete
function getInitial(mixed) {
[15434] Fix | Delete
return _extends({
[15435] Fix | Delete
_active: false,
[15436] Fix | Delete
_blocked: false,
[15437] Fix | Delete
_intentional: [false, false],
[15438] Fix | Delete
_movement: [0, 0],
[15439] Fix | Delete
_initial: [0, 0],
[15440] Fix | Delete
_bounds: [[-Infinity, Infinity], [-Infinity, Infinity]],
[15441] Fix | Delete
_threshold: [0, 0],
[15442] Fix | Delete
_lastEventType: undefined,
[15443] Fix | Delete
_dragStarted: false,
[15444] Fix | Delete
_dragPreventScroll: false,
[15445] Fix | Delete
_dragIsTap: true,
[15446] Fix | Delete
_dragDelayed: false,
[15447] Fix | Delete
event: undefined,
[15448] Fix | Delete
intentional: false,
[15449] Fix | Delete
values: [0, 0],
[15450] Fix | Delete
velocities: [0, 0],
[15451] Fix | Delete
delta: [0, 0],
[15452] Fix | Delete
movement: [0, 0],
[15453] Fix | Delete
offset: [0, 0],
[15454] Fix | Delete
lastOffset: [0, 0],
[15455] Fix | Delete
direction: [0, 0],
[15456] Fix | Delete
initial: [0, 0],
[15457] Fix | Delete
previous: [0, 0],
[15458] Fix | Delete
first: false,
[15459] Fix | Delete
last: false,
[15460] Fix | Delete
active: false,
[15461] Fix | Delete
timeStamp: 0,
[15462] Fix | Delete
startTime: 0,
[15463] Fix | Delete
elapsedTime: 0,
[15464] Fix | Delete
cancel: noop,
[15465] Fix | Delete
canceled: false,
[15466] Fix | Delete
memo: undefined,
[15467] Fix | Delete
args: undefined
[15468] Fix | Delete
}, mixed);
[15469] Fix | Delete
}
[15470] Fix | Delete
[15471] Fix | Delete
function getInitialState() {
[15472] Fix | Delete
var shared = {
[15473] Fix | Delete
hovering: false,
[15474] Fix | Delete
scrolling: false,
[15475] Fix | Delete
wheeling: false,
[15476] Fix | Delete
dragging: false,
[15477] Fix | Delete
moving: false,
[15478] Fix | Delete
pinching: false,
[15479] Fix | Delete
touches: 0,
[15480] Fix | Delete
buttons: 0,
[15481] Fix | Delete
down: false,
[15482] Fix | Delete
shiftKey: false,
[15483] Fix | Delete
altKey: false,
[15484] Fix | Delete
metaKey: false,
[15485] Fix | Delete
ctrlKey: false,
[15486] Fix | Delete
locked: false
[15487] Fix | Delete
};
[15488] Fix | Delete
var drag = getInitial({
[15489] Fix | Delete
_pointerId: undefined,
[15490] Fix | Delete
axis: undefined,
[15491] Fix | Delete
xy: [0, 0],
[15492] Fix | Delete
vxvy: [0, 0],
[15493] Fix | Delete
velocity: 0,
[15494] Fix | Delete
distance: 0,
[15495] Fix | Delete
tap: false,
[15496] Fix | Delete
swipe: [0, 0]
[15497] Fix | Delete
});
[15498] Fix | Delete
var pinch = getInitial({
[15499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function