Files
pezkuwi-mobile-app/frontend/.metro-cache/cache/cb/2d0df65d401dc2c643d95cd075a87f3f8885240bfb32378ace15f51f94f419d16a1f3c
T
2025-10-24 02:40:54 +00:00

1 line
6.7 KiB
Plaintext

{"dependencies":[],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n /**\n * Copyright (c) Nicolas Gallagher\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n 'use strict';\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.localizeStyle = localizeStyle;\n var cache = new WeakMap();\n var markerProp = '$$css$localize';\n /**\n * The compiler polyfills logical properties and values, generating a class\n * name for both writing directions. The style objects are annotated by\n * the compiler as needing this runtime transform. The results are memoized.\n *\n * { '$$css$localize': true, float: [ 'float-left', 'float-right' ] }\n * => { float: 'float-left' }\n */\n\n function compileStyle(style, isRTL) {\n // Create a new compiled style for styleq\n var compiledStyle = {};\n for (var prop in style) {\n if (prop !== markerProp) {\n var value = style[prop];\n if (Array.isArray(value)) {\n compiledStyle[prop] = isRTL ? value[1] : value[0];\n } else {\n compiledStyle[prop] = value;\n }\n }\n }\n return compiledStyle;\n }\n function localizeStyle(style, isRTL) {\n if (style[markerProp] != null) {\n var compiledStyleIndex = isRTL ? 1 : 0; // Check the cache in case we've already seen this object\n\n if (cache.has(style)) {\n var _cachedStyles = cache.get(style);\n var _compiledStyle = _cachedStyles[compiledStyleIndex];\n if (_compiledStyle == null) {\n // Update the missing cache entry\n _compiledStyle = compileStyle(style, isRTL);\n _cachedStyles[compiledStyleIndex] = _compiledStyle;\n cache.set(style, _cachedStyles);\n }\n return _compiledStyle;\n } // Create a new compiled style for styleq\n\n var compiledStyle = compileStyle(style, isRTL);\n var cachedStyles = new Array(2);\n cachedStyles[compiledStyleIndex] = compiledStyle;\n cache.set(style, cachedStyles);\n return compiledStyle;\n }\n return style;\n }\n});","lineCount":64,"map":[[2,2,1,0],[3,0,2,0],[4,0,3,0],[5,0,4,0],[6,0,5,0],[7,0,6,0],[8,2,7,0],[8,14,7,12],[10,2,9,0,"Object"],[10,8,9,6],[10,9,9,7,"defineProperty"],[10,23,9,21],[10,24,9,22,"exports"],[10,31,9,29],[10,33,9,31],[10,45,9,43],[10,47,9,45],[11,4,10,2,"value"],[11,9,10,7],[11,11,10,9],[12,2,11,0],[12,3,11,1],[12,4,11,2],[13,2,12,0,"exports"],[13,9,12,7],[13,10,12,8,"localizeStyle"],[13,23,12,21],[13,26,12,24,"localizeStyle"],[13,39,12,37],[14,2,13,0],[14,6,13,4,"cache"],[14,11,13,9],[14,14,13,12],[14,18,13,16,"WeakMap"],[14,25,13,23],[14,26,13,24],[14,27,13,25],[15,2,14,0],[15,6,14,4,"markerProp"],[15,16,14,14],[15,19,14,17],[15,35,14,33],[16,2,15,0],[17,0,16,0],[18,0,17,0],[19,0,18,0],[20,0,19,0],[21,0,20,0],[22,0,21,0],[23,0,22,0],[25,2,24,0],[25,11,24,9,"compileStyle"],[25,23,24,21,"compileStyle"],[25,24,24,22,"style"],[25,29,24,27],[25,31,24,29,"isRTL"],[25,36,24,34],[25,38,24,36],[26,4,25,2],[27,4,26,2],[27,8,26,6,"compiledStyle"],[27,21,26,19],[27,24,26,22],[27,25,26,23],[27,26,26,24],[28,4,28,2],[28,9,28,7],[28,13,28,11,"prop"],[28,17,28,15],[28,21,28,19,"style"],[28,26,28,24],[28,28,28,26],[29,6,29,4],[29,10,29,8,"prop"],[29,14,29,12],[29,19,29,17,"markerProp"],[29,29,29,27],[29,31,29,29],[30,8,30,6],[30,12,30,10,"value"],[30,17,30,15],[30,20,30,18,"style"],[30,25,30,23],[30,26,30,24,"prop"],[30,30,30,28],[30,31,30,29],[31,8,32,6],[31,12,32,10,"Array"],[31,17,32,15],[31,18,32,16,"isArray"],[31,25,32,23],[31,26,32,24,"value"],[31,31,32,29],[31,32,32,30],[31,34,32,32],[32,10,33,8,"compiledStyle"],[32,23,33,21],[32,24,33,22,"prop"],[32,28,33,26],[32,29,33,27],[32,32,33,30,"isRTL"],[32,37,33,35],[32,40,33,38,"value"],[32,45,33,43],[32,46,33,44],[32,47,33,45],[32,48,33,46],[32,51,33,49,"value"],[32,56,33,54],[32,57,33,55],[32,58,33,56],[32,59,33,57],[33,8,34,6],[33,9,34,7],[33,15,34,13],[34,10,35,8,"compiledStyle"],[34,23,35,21],[34,24,35,22,"prop"],[34,28,35,26],[34,29,35,27],[34,32,35,30,"value"],[34,37,35,35],[35,8,36,6],[36,6,37,4],[37,4,38,2],[38,4,40,2],[38,11,40,9,"compiledStyle"],[38,24,40,22],[39,2,41,0],[40,2,43,0],[40,11,43,9,"localizeStyle"],[40,24,43,22,"localizeStyle"],[40,25,43,23,"style"],[40,30,43,28],[40,32,43,30,"isRTL"],[40,37,43,35],[40,39,43,37],[41,4,44,2],[41,8,44,6,"style"],[41,13,44,11],[41,14,44,12,"markerProp"],[41,24,44,22],[41,25,44,23],[41,29,44,27],[41,33,44,31],[41,35,44,33],[42,6,45,4],[42,10,45,8,"compiledStyleIndex"],[42,28,45,26],[42,31,45,29,"isRTL"],[42,36,45,34],[42,39,45,37],[42,40,45,38],[42,43,45,41],[42,44,45,42],[42,45,45,43],[42,46,45,44],[44,6,47,4],[44,10,47,8,"cache"],[44,15,47,13],[44,16,47,14,"has"],[44,19,47,17],[44,20,47,18,"style"],[44,25,47,23],[44,26,47,24],[44,28,47,26],[45,8,48,6],[45,12,48,10,"_cachedStyles"],[45,25,48,23],[45,28,48,26,"cache"],[45,33,48,31],[45,34,48,32,"get"],[45,37,48,35],[45,38,48,36,"style"],[45,43,48,41],[45,44,48,42],[46,8,50,6],[46,12,50,10,"_compiledStyle"],[46,26,50,24],[46,29,50,27,"_cachedStyles"],[46,42,50,40],[46,43,50,41,"compiledStyleIndex"],[46,61,50,59],[46,62,50,60],[47,8,52,6],[47,12,52,10,"_compiledStyle"],[47,26,52,24],[47,30,52,28],[47,34,52,32],[47,36,52,34],[48,10,53,8],[49,10,54,8,"_compiledStyle"],[49,24,54,22],[49,27,54,25,"compileStyle"],[49,39,54,37],[49,40,54,38,"style"],[49,45,54,43],[49,47,54,45,"isRTL"],[49,52,54,50],[49,53,54,51],[50,10,55,8,"_cachedStyles"],[50,23,55,21],[50,24,55,22,"compiledStyleIndex"],[50,42,55,40],[50,43,55,41],[50,46,55,44,"_compiledStyle"],[50,60,55,58],[51,10,56,8,"cache"],[51,15,56,13],[51,16,56,14,"set"],[51,19,56,17],[51,20,56,18,"style"],[51,25,56,23],[51,27,56,25,"_cachedStyles"],[51,40,56,38],[51,41,56,39],[52,8,57,6],[53,8,59,6],[53,15,59,13,"_compiledStyle"],[53,29,59,27],[54,6,60,4],[54,7,60,5],[54,8,60,6],[56,6,63,4],[56,10,63,8,"compiledStyle"],[56,23,63,21],[56,26,63,24,"compileStyle"],[56,38,63,36],[56,39,63,37,"style"],[56,44,63,42],[56,46,63,44,"isRTL"],[56,51,63,49],[56,52,63,50],[57,6,64,4],[57,10,64,8,"cachedStyles"],[57,22,64,20],[57,25,64,23],[57,29,64,27,"Array"],[57,34,64,32],[57,35,64,33],[57,36,64,34],[57,37,64,35],[58,6,65,4,"cachedStyles"],[58,18,65,16],[58,19,65,17,"compiledStyleIndex"],[58,37,65,35],[58,38,65,36],[58,41,65,39,"compiledStyle"],[58,54,65,52],[59,6,66,4,"cache"],[59,11,66,9],[59,12,66,10,"set"],[59,15,66,13],[59,16,66,14,"style"],[59,21,66,19],[59,23,66,21,"cachedStyles"],[59,35,66,33],[59,36,66,34],[60,6,67,4],[60,13,67,11,"compiledStyle"],[60,26,67,24],[61,4,68,2],[62,4,70,2],[62,11,70,9,"style"],[62,16,70,14],[63,2,71,0],[64,0,71,1],[64,3]],"functionMap":{"names":["<global>","compileStyle","localizeStyle"],"mappings":"AAA;ACuB;CDiB;AEE"}},"type":"js/module"}]}