mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 13:31:00 +00:00
1 line
12 KiB
Plaintext
1 line
12 KiB
Plaintext
{"dependencies":[],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n Object.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function () {\n return _default;\n }\n });\n var TouchHistoryMath = {\n centroidDimension: function centroidDimension(touchHistory, touchesChangedAfter, isXAxis, ofCurrent) {\n var touchBank = touchHistory.touchBank;\n var total = 0;\n var count = 0;\n var oneTouchData = touchHistory.numberActiveTouches === 1 ? touchHistory.touchBank[touchHistory.indexOfSingleActiveTouch] : null;\n if (oneTouchData !== null) {\n if (oneTouchData.touchActive && oneTouchData.currentTimeStamp > touchesChangedAfter) {\n total += ofCurrent && isXAxis ? oneTouchData.currentPageX : ofCurrent && !isXAxis ? oneTouchData.currentPageY : !ofCurrent && isXAxis ? oneTouchData.previousPageX : oneTouchData.previousPageY;\n count = 1;\n }\n } else {\n for (var i = 0; i < touchBank.length; i++) {\n var touchTrack = touchBank[i];\n if (touchTrack !== null && touchTrack !== undefined && touchTrack.touchActive && touchTrack.currentTimeStamp >= touchesChangedAfter) {\n var toAdd = void 0;\n if (ofCurrent && isXAxis) {\n toAdd = touchTrack.currentPageX;\n } else if (ofCurrent && !isXAxis) {\n toAdd = touchTrack.currentPageY;\n } else if (!ofCurrent && isXAxis) {\n toAdd = touchTrack.previousPageX;\n } else {\n toAdd = touchTrack.previousPageY;\n }\n total += toAdd;\n count++;\n }\n }\n }\n return count > 0 ? total / count : TouchHistoryMath.noCentroid;\n },\n currentCentroidXOfTouchesChangedAfter: function currentCentroidXOfTouchesChangedAfter(touchHistory, touchesChangedAfter) {\n return TouchHistoryMath.centroidDimension(touchHistory, touchesChangedAfter, true, true);\n },\n currentCentroidYOfTouchesChangedAfter: function currentCentroidYOfTouchesChangedAfter(touchHistory, touchesChangedAfter) {\n return TouchHistoryMath.centroidDimension(touchHistory, touchesChangedAfter, false, true);\n },\n previousCentroidXOfTouchesChangedAfter: function previousCentroidXOfTouchesChangedAfter(touchHistory, touchesChangedAfter) {\n return TouchHistoryMath.centroidDimension(touchHistory, touchesChangedAfter, true, false);\n },\n previousCentroidYOfTouchesChangedAfter: function previousCentroidYOfTouchesChangedAfter(touchHistory, touchesChangedAfter) {\n return TouchHistoryMath.centroidDimension(touchHistory, touchesChangedAfter, false, false);\n },\n currentCentroidX: function currentCentroidX(touchHistory) {\n return TouchHistoryMath.centroidDimension(touchHistory, 0, true, true);\n },\n currentCentroidY: function currentCentroidY(touchHistory) {\n return TouchHistoryMath.centroidDimension(touchHistory, 0, false, true);\n },\n noCentroid: -1\n };\n var _default = TouchHistoryMath;\n});","lineCount":66,"map":[[7,2,182,0,"Object"],[7,8,182,0],[7,9,182,0,"defineProperty"],[7,23,182,0],[7,24,182,0,"exports"],[7,31,182,0],[8,4,182,0,"enumerable"],[8,14,182,0],[9,4,182,0,"get"],[9,7,182,0],[9,18,182,0,"get"],[9,19,182,0],[10,6,182,0],[10,13,182,0,"_default"],[10,21,182,0],[11,4,182,0],[12,2,182,0],[13,2,13,0],[13,6,13,6,"TouchHistoryMath"],[13,22,13,22],[13,25,13,25],[14,4,30,2,"centroidDimension"],[14,21,30,19],[14,23,30,21],[14,32,30,2,"centroidDimension"],[14,49,30,19,"centroidDimension"],[14,50,31,4,"touchHistory"],[14,62,31,34],[14,64,32,4,"touchesChangedAfter"],[14,83,32,31],[14,85,33,4,"isXAxis"],[14,92,33,20],[14,94,34,4,"ofCurrent"],[14,103,34,22],[14,105,35,12],[15,6,36,4],[15,10,36,10,"touchBank"],[15,19,36,19],[15,22,36,22,"touchHistory"],[15,34,36,34],[15,35,36,35,"touchBank"],[15,44,36,44],[16,6,37,4],[16,10,37,8,"total"],[16,15,37,13],[16,18,37,16],[16,19,37,17],[17,6,38,4],[17,10,38,8,"count"],[17,15,38,13],[17,18,38,16],[17,19,38,17],[18,6,40,4],[18,10,40,10,"oneTouchData"],[18,22,40,22],[18,25,41,6,"touchHistory"],[18,37,41,18],[18,38,41,19,"numberActiveTouches"],[18,57,41,38],[18,62,41,43],[18,63,41,44],[18,66,42,10,"touchHistory"],[18,78,42,22],[18,79,42,23,"touchBank"],[18,88,42,32],[18,89,42,33,"touchHistory"],[18,101,42,45],[18,102,42,46,"indexOfSingleActiveTouch"],[18,126,42,70],[18,127,42,71],[18,130,43,10],[18,134,43,14],[19,6,45,4],[19,10,45,8,"oneTouchData"],[19,22,45,20],[19,27,45,25],[19,31,45,29],[19,33,45,31],[20,8,46,6],[20,12,47,8,"oneTouchData"],[20,24,47,20],[20,25,47,21,"touchActive"],[20,36,47,32],[20,40,48,8,"oneTouchData"],[20,52,48,20],[20,53,48,21,"currentTimeStamp"],[20,69,48,37],[20,72,48,40,"touchesChangedAfter"],[20,91,48,59],[20,93,49,8],[21,10,50,8,"total"],[21,15,50,13],[21,19,51,10,"ofCurrent"],[21,28,51,19],[21,32,51,23,"isXAxis"],[21,39,51,30],[21,42,52,14,"oneTouchData"],[21,54,52,26],[21,55,52,27,"currentPageX"],[21,67,52,39],[21,70,53,14,"ofCurrent"],[21,79,53,23],[21,83,53,27],[21,84,53,28,"isXAxis"],[21,91,53,35],[21,94,54,16,"oneTouchData"],[21,106,54,28],[21,107,54,29,"currentPageY"],[21,119,54,41],[21,122,55,16],[21,123,55,17,"ofCurrent"],[21,132,55,26],[21,136,55,30,"isXAxis"],[21,143,55,37],[21,146,56,18,"oneTouchData"],[21,158,56,30],[21,159,56,31,"previousPageX"],[21,172,56,44],[21,175,57,18,"oneTouchData"],[21,187,57,30],[21,188,57,31,"previousPageY"],[21,201,57,44],[22,10,58,8,"count"],[22,15,58,13],[22,18,58,16],[22,19,58,17],[23,8,59,6],[24,6,60,4],[24,7,60,5],[24,13,60,11],[25,8,61,6],[25,13,61,11],[25,17,61,15,"i"],[25,18,61,16],[25,21,61,19],[25,22,61,20],[25,24,61,22,"i"],[25,25,61,23],[25,28,61,26,"touchBank"],[25,37,61,35],[25,38,61,36,"length"],[25,44,61,42],[25,46,61,44,"i"],[25,47,61,45],[25,49,61,47],[25,51,61,49],[26,10,62,8],[26,14,62,14,"touchTrack"],[26,24,62,24],[26,27,62,27,"touchBank"],[26,36,62,36],[26,37,62,37,"i"],[26,38,62,38],[26,39,62,39],[27,10,63,8],[27,14,64,10,"touchTrack"],[27,24,64,20],[27,29,64,25],[27,33,64,29],[27,37,65,10,"touchTrack"],[27,47,65,20],[27,52,65,25,"undefined"],[27,61,65,34],[27,65,66,10,"touchTrack"],[27,75,66,20],[27,76,66,21,"touchActive"],[27,87,66,32],[27,91,67,10,"touchTrack"],[27,101,67,20],[27,102,67,21,"currentTimeStamp"],[27,118,67,37],[27,122,67,41,"touchesChangedAfter"],[27,141,67,60],[27,143,68,10],[28,12,69,10],[28,16,69,14,"toAdd"],[28,21,69,19],[29,12,70,10],[29,16,70,14,"ofCurrent"],[29,25,70,23],[29,29,70,27,"isXAxis"],[29,36,70,34],[29,38,70,36],[30,14,71,12,"toAdd"],[30,19,71,17],[30,22,71,20,"touchTrack"],[30,32,71,30],[30,33,71,31,"currentPageX"],[30,45,71,43],[31,12,72,10],[31,13,72,11],[31,19,72,17],[31,23,72,21,"ofCurrent"],[31,32,72,30],[31,36,72,34],[31,37,72,35,"isXAxis"],[31,44,72,42],[31,46,72,44],[32,14,73,12,"toAdd"],[32,19,73,17],[32,22,73,20,"touchTrack"],[32,32,73,30],[32,33,73,31,"currentPageY"],[32,45,73,43],[33,12,74,10],[33,13,74,11],[33,19,74,17],[33,23,74,21],[33,24,74,22,"ofCurrent"],[33,33,74,31],[33,37,74,35,"isXAxis"],[33,44,74,42],[33,46,74,44],[34,14,75,12,"toAdd"],[34,19,75,17],[34,22,75,20,"touchTrack"],[34,32,75,30],[34,33,75,31,"previousPageX"],[34,46,75,44],[35,12,76,10],[35,13,76,11],[35,19,76,17],[36,14,77,12,"toAdd"],[36,19,77,17],[36,22,77,20,"touchTrack"],[36,32,77,30],[36,33,77,31,"previousPageY"],[36,46,77,44],[37,12,78,10],[38,12,79,10,"total"],[38,17,79,15],[38,21,79,19,"toAdd"],[38,26,79,24],[39,12,80,10,"count"],[39,17,80,15],[39,19,80,17],[40,10,81,8],[41,8,82,6],[42,6,83,4],[43,6,84,4],[43,13,84,11,"count"],[43,18,84,16],[43,21,84,19],[43,22,84,20],[43,25,84,23,"total"],[43,30,84,28],[43,33,84,31,"count"],[43,38,84,36],[43,41,84,39,"TouchHistoryMath"],[43,57,84,55],[43,58,84,56,"noCentroid"],[43,68,84,66],[44,4,85,2],[44,5,85,3],[45,4,87,2,"currentCentroidXOfTouchesChangedAfter"],[45,41,87,39],[45,43,87,41],[45,52,87,2,"currentCentroidXOfTouchesChangedAfter"],[45,89,87,39,"currentCentroidXOfTouchesChangedAfter"],[45,90,88,4,"touchHistory"],[45,102,88,34],[45,104,89,4,"touchesChangedAfter"],[45,123,89,31],[45,125,90,12],[46,6,91,4],[46,13,91,11,"TouchHistoryMath"],[46,29,91,27],[46,30,91,28,"centroidDimension"],[46,47,91,45],[46,48,92,6,"touchHistory"],[46,60,92,18],[46,62,93,6,"touchesChangedAfter"],[46,81,93,25],[46,83,94,6],[46,87,94,10],[46,89,95,6],[46,93,96,4],[46,94,96,5],[47,4,97,2],[47,5,97,3],[48,4,99,2,"currentCentroidYOfTouchesChangedAfter"],[48,41,99,39],[48,43,99,41],[48,52,99,2,"currentCentroidYOfTouchesChangedAfter"],[48,89,99,39,"currentCentroidYOfTouchesChangedAfter"],[48,90,100,4,"touchHistory"],[48,102,100,34],[48,104,101,4,"touchesChangedAfter"],[48,123,101,31],[48,125,102,12],[49,6,103,4],[49,13,103,11,"TouchHistoryMath"],[49,29,103,27],[49,30,103,28,"centroidDimension"],[49,47,103,45],[49,48,104,6,"touchHistory"],[49,60,104,18],[49,62,105,6,"touchesChangedAfter"],[49,81,105,25],[49,83,106,6],[49,88,106,11],[49,90,107,6],[49,94,108,4],[49,95,108,5],[50,4,109,2],[50,5,109,3],[51,4,111,2,"previousCentroidXOfTouchesChangedAfter"],[51,42,111,40],[51,44,111,42],[51,53,111,2,"previousCentroidXOfTouchesChangedAfter"],[51,91,111,40,"previousCentroidXOfTouchesChangedAfter"],[51,92,112,4,"touchHistory"],[51,104,112,34],[51,106,113,4,"touchesChangedAfter"],[51,125,113,31],[51,127,114,12],[52,6,115,4],[52,13,115,11,"TouchHistoryMath"],[52,29,115,27],[52,30,115,28,"centroidDimension"],[52,47,115,45],[52,48,116,6,"touchHistory"],[52,60,116,18],[52,62,117,6,"touchesChangedAfter"],[52,81,117,25],[52,83,118,6],[52,87,118,10],[52,89,119,6],[52,94,120,4],[52,95,120,5],[53,4,121,2],[53,5,121,3],[54,4,123,2,"previousCentroidYOfTouchesChangedAfter"],[54,42,123,40],[54,44,123,42],[54,53,123,2,"previousCentroidYOfTouchesChangedAfter"],[54,91,123,40,"previousCentroidYOfTouchesChangedAfter"],[54,92,124,4,"touchHistory"],[54,104,124,34],[54,106,125,4,"touchesChangedAfter"],[54,125,125,31],[54,127,126,12],[55,6,127,4],[55,13,127,11,"TouchHistoryMath"],[55,29,127,27],[55,30,127,28,"centroidDimension"],[55,47,127,45],[55,48,128,6,"touchHistory"],[55,60,128,18],[55,62,129,6,"touchesChangedAfter"],[55,81,129,25],[55,83,130,6],[55,88,130,11],[55,90,131,6],[55,95,132,4],[55,96,132,5],[56,4,133,2],[56,5,133,3],[57,4,135,2,"currentCentroidX"],[57,20,135,18],[57,22,135,20],[57,31,135,2,"currentCentroidX"],[57,47,135,18,"currentCentroidX"],[57,48,135,30,"touchHistory"],[57,60,135,60],[57,62,135,70],[58,6,136,4],[58,13,136,11,"TouchHistoryMath"],[58,29,136,27],[58,30,136,28,"centroidDimension"],[58,47,136,45],[58,48,137,6,"touchHistory"],[58,60,137,18],[58,62,138,6],[58,63,138,7],[58,65,139,6],[58,69,139,10],[58,71,140,6],[58,75,141,4],[58,76,141,5],[59,4,142,2],[59,5,142,3],[60,4,144,2,"currentCentroidY"],[60,20,144,18],[60,22,144,20],[60,31,144,2,"currentCentroidY"],[60,47,144,18,"currentCentroidY"],[60,48,144,30,"touchHistory"],[60,60,144,60],[60,62,144,70],[61,6,145,4],[61,13,145,11,"TouchHistoryMath"],[61,29,145,27],[61,30,145,28,"centroidDimension"],[61,47,145,45],[61,48,146,6,"touchHistory"],[61,60,146,18],[61,62,147,6],[61,63,147,7],[61,65,148,6],[61,70,148,11],[61,72,149,6],[61,76,150,4],[61,77,150,5],[62,4,151,2],[62,5,151,3],[63,4,153,2,"noCentroid"],[63,14,153,12],[63,16,153,14],[63,17,153,15],[64,2,154,0],[64,3,180,1],[65,2,182,0],[65,6,182,0,"_default"],[65,14,182,0],[65,17,182,15,"TouchHistoryMath"],[65,33,182,31],[66,0,182,32],[66,3]],"functionMap":{"names":["<global>","centroidDimension","currentCentroidXOfTouchesChangedAfter","currentCentroidYOfTouchesChangedAfter","previousCentroidXOfTouchesChangedAfter","previousCentroidYOfTouchesChangedAfter","currentCentroidX","currentCentroidY"],"mappings":"AAA;qBC6B;GDuD;yCEE;GFU;yCGE;GHU;0CIE;GJU;0CKE;GLU;oBME;GNO;oBOE;GPO"},"hasCjsExports":false},"type":"js/module"}]} |