Files
pezkuwi-mobile-app/frontend/.metro-cache/cache/5c/27d40d140c429474caa4bc2a6bd2295cdc04a11485c5dbdecc4a4efe173e5a2739bf20
T
2025-11-08 18:17:03 +00:00

1 line
6.2 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 exports.getEventHandlerAttribute = getEventHandlerAttribute;\n exports.setEventHandlerAttribute = setEventHandlerAttribute;\n var EVENT_HANDLER_CONTENT_ATTRIBUTE_MAP_KEY = Symbol('eventHandlerAttributeMap');\n function getEventHandlerAttributeMap(target) {\n return target[EVENT_HANDLER_CONTENT_ATTRIBUTE_MAP_KEY];\n }\n function setEventHandlerAttributeMap(target, map) {\n target[EVENT_HANDLER_CONTENT_ATTRIBUTE_MAP_KEY] = map;\n }\n function getEventHandlerAttribute(target, type) {\n var listener = getEventHandlerAttributeMap(target)?.get(type);\n return listener != null ? listener.handleEvent : null;\n }\n function setEventHandlerAttribute(target, type, callback) {\n var map = getEventHandlerAttributeMap(target);\n if (map != null) {\n var currentListener = map.get(type);\n if (currentListener) {\n target.removeEventListener(type, currentListener);\n map.delete(type);\n }\n }\n if (callback != null && (typeof callback === 'function' || typeof callback === 'object')) {\n var listener = {\n handleEvent: callback\n };\n try {\n target.addEventListener(type, listener);\n if (map == null) {\n map = new Map();\n setEventHandlerAttributeMap(target, map);\n }\n map.set(type, listener);\n } catch (e) {}\n }\n if (map != null && map.size === 0) {\n setEventHandlerAttributeMap(target, null);\n }\n }\n});","lineCount":46,"map":[[7,2,76,0,"exports"],[7,9,76,0],[7,10,76,0,"getEventHandlerAttribute"],[7,34,76,0],[7,37,76,0,"getEventHandlerAttribute"],[7,61,76,0],[8,2,90,0,"exports"],[8,9,90,0],[8,10,90,0,"setEventHandlerAttribute"],[8,34,90,0],[8,37,90,0,"setEventHandlerAttribute"],[8,61,90,0],[9,2,51,0],[9,6,51,6,"EVENT_HANDLER_CONTENT_ATTRIBUTE_MAP_KEY"],[9,45,51,45],[9,48,51,48,"Symbol"],[9,54,51,54],[9,55,52,2],[9,81,53,0],[9,82,53,1],[10,2,55,0],[10,11,55,9,"getEventHandlerAttributeMap"],[10,38,55,36,"getEventHandlerAttributeMap"],[10,39,56,2,"target"],[10,45,56,21],[10,47,57,29],[11,4,59,2],[11,11,59,9,"target"],[11,17,59,15],[11,18,59,16,"EVENT_HANDLER_CONTENT_ATTRIBUTE_MAP_KEY"],[11,57,59,55],[11,58,59,56],[12,2,60,0],[13,2,62,0],[13,11,62,9,"setEventHandlerAttributeMap"],[13,38,62,36,"setEventHandlerAttributeMap"],[13,39,63,2,"target"],[13,45,63,21],[13,47,64,2,"map"],[13,50,64,32],[13,52,65,2],[14,4,67,2,"target"],[14,10,67,8],[14,11,67,9,"EVENT_HANDLER_CONTENT_ATTRIBUTE_MAP_KEY"],[14,50,67,48],[14,51,67,49],[14,54,67,52,"map"],[14,57,67,55],[15,2,68,0],[16,2,76,7],[16,11,76,16,"getEventHandlerAttribute"],[16,35,76,40,"getEventHandlerAttribute"],[16,36,77,2,"target"],[16,42,77,21],[16,44,78,2,"type"],[16,48,78,14],[16,50,79,24],[17,4,80,2],[17,8,80,8,"listener"],[17,16,80,16],[17,19,80,19,"getEventHandlerAttributeMap"],[17,46,80,46],[17,47,80,47,"target"],[17,53,80,53],[17,54,80,54],[17,56,80,56,"get"],[17,59,80,59],[17,60,80,60,"type"],[17,64,80,64],[17,65,80,65],[18,4,81,2],[18,11,81,9,"listener"],[18,19,81,17],[18,23,81,21],[18,27,81,25],[18,30,81,28,"listener"],[18,38,81,36],[18,39,81,37,"handleEvent"],[18,50,81,48],[18,53,81,51],[18,57,81,55],[19,2,82,0],[20,2,90,7],[20,11,90,16,"setEventHandlerAttribute"],[20,35,90,40,"setEventHandlerAttribute"],[20,36,91,2,"target"],[20,42,91,21],[20,44,92,2,"type"],[20,48,92,14],[20,50,93,2,"callback"],[20,58,93,26],[20,60,94,8],[21,4,95,2],[21,8,95,6,"map"],[21,11,95,9],[21,14,95,12,"getEventHandlerAttributeMap"],[21,41,95,39],[21,42,95,40,"target"],[21,48,95,46],[21,49,95,47],[22,4,96,2],[22,8,96,6,"map"],[22,11,96,9],[22,15,96,13],[22,19,96,17],[22,21,96,19],[23,6,97,4],[23,10,97,10,"currentListener"],[23,25,97,25],[23,28,97,28,"map"],[23,31,97,31],[23,32,97,32,"get"],[23,35,97,35],[23,36,97,36,"type"],[23,40,97,40],[23,41,97,41],[24,6,98,4],[24,10,98,8,"currentListener"],[24,25,98,23],[24,27,98,25],[25,8,99,6,"target"],[25,14,99,12],[25,15,99,13,"removeEventListener"],[25,34,99,32],[25,35,99,33,"type"],[25,39,99,37],[25,41,99,39,"currentListener"],[25,56,99,54],[25,57,99,55],[26,8,100,6,"map"],[26,11,100,9],[26,12,100,10,"delete"],[26,18,100,16],[26,19,100,17,"type"],[26,23,100,21],[26,24,100,22],[27,6,101,4],[28,4,102,2],[29,4,104,2],[29,8,105,4,"callback"],[29,16,105,12],[29,20,105,16],[29,24,105,20],[29,29,106,5],[29,36,106,12,"callback"],[29,44,106,20],[29,49,106,25],[29,59,106,35],[29,63,106,39],[29,70,106,46,"callback"],[29,78,106,54],[29,83,106,59],[29,91,106,67],[29,92,106,68],[29,94,107,4],[30,6,110,4],[30,10,110,10,"listener"],[30,18,110,18],[30,21,110,21],[31,8,111,6,"handleEvent"],[31,19,111,17],[31,21,111,19,"callback"],[32,6,112,4],[32,7,112,5],[33,6,114,4],[33,10,114,8],[34,8,115,6,"target"],[34,14,115,12],[34,15,115,13,"addEventListener"],[34,31,115,29],[34,32,115,30,"type"],[34,36,115,34],[34,38,115,36,"listener"],[34,46,115,44],[34,47,115,45],[35,8,117,6],[35,12,117,10,"map"],[35,15,117,13],[35,19,117,17],[35,23,117,21],[35,25,117,23],[36,10,118,8,"map"],[36,13,118,11],[36,16,118,14],[36,20,118,18,"Map"],[36,23,118,21],[36,24,118,22],[36,25,118,23],[37,10,119,8,"setEventHandlerAttributeMap"],[37,37,119,35],[37,38,119,36,"target"],[37,44,119,42],[37,46,119,44,"map"],[37,49,119,47],[37,50,119,48],[38,8,120,6],[39,8,121,6,"map"],[39,11,121,9],[39,12,121,10,"set"],[39,15,121,13],[39,16,121,14,"type"],[39,20,121,18],[39,22,121,20,"listener"],[39,30,121,28],[39,31,121,29],[40,6,122,4],[40,7,122,5],[40,8,122,6],[40,15,122,13,"e"],[40,16,122,14],[40,18,122,16],[40,19,124,4],[41,4,125,2],[42,4,127,2],[42,8,127,6,"map"],[42,11,127,9],[42,15,127,13],[42,19,127,17],[42,23,127,21,"map"],[42,26,127,24],[42,27,127,25,"size"],[42,31,127,29],[42,36,127,34],[42,37,127,35],[42,39,127,37],[43,6,128,4,"setEventHandlerAttributeMap"],[43,33,128,31],[43,34,128,32,"target"],[43,40,128,38],[43,42,128,40],[43,46,128,44],[43,47,128,45],[44,4,129,2],[45,2,130,0],[46,0,130,1],[46,3]],"functionMap":{"names":["<global>","getEventHandlerAttributeMap","setEventHandlerAttributeMap","getEventHandlerAttribute","setEventHandlerAttribute"],"mappings":"AAA;ACsD;CDK;AEE;CFM;OGQ;CHM;OIQ"},"hasCjsExports":false},"type":"js/module"}]}